@@ -21,9 +21,9 @@ class FrozenBot:
2121 """A frozen version of botogram.Bot"""
2222
2323 def __init__ (self , api , about , owner , hide_commands , before_help ,
24- after_help , process_backlog , lang , itself , commands_re ,
25- commands , chains , scheduler , main_component_id , bot_id ,
26- shared_memory , update_processors ):
24+ after_help , link_preview_in_help , process_backlog , lang ,
25+ itself , commands_re , commands , chains , scheduler ,
26+ main_component_id , bot_id , shared_memory , update_processors ):
2727 # This attribute should be added with the default setattr, because is
2828 # needed by the custom setattr
2929 object .__setattr__ (self , "_frozen" , False )
@@ -35,6 +35,7 @@ def __init__(self, api, about, owner, hide_commands, before_help,
3535 self ._hide_commands = hide_commands
3636 self .before_help = before_help
3737 self .after_help = after_help
38+ self .link_preview_in_help = link_preview_in_help
3839 self .process_backlog = process_backlog
3940 self .lang = lang
4041 self ._commands_re = commands_re
@@ -63,10 +64,11 @@ def __init__(self, api, about, owner, hide_commands, before_help,
6364 def __reduce__ (self ):
6465 args = (
6566 self .api , self .about , self .owner , self ._hide_commands ,
66- self .before_help , self .after_help , self .process_backlog ,
67- self .lang , self .itself , self ._commands_re , self ._commands ,
68- self ._chains , self ._scheduler , self ._main_component_id ,
69- self ._bot_id , self ._shared_memory , self ._update_processors ,
67+ self .before_help , self .after_help , self .link_preview_in_help ,
68+ self .process_backlog , self .lang , self .itself , self ._commands_re ,
69+ self ._commands , self ._chains , self ._scheduler ,
70+ self ._main_component_id , self ._bot_id , self ._shared_memory ,
71+ self ._update_processors ,
7072 )
7173 return restore , args
7274
0 commit comments