@@ -625,6 +625,10 @@ class Chat(JsonDeserializable):
625625 by each unpriviledged user; in seconds. Returned only in getChat.
626626 :type slow_mode_delay: :obj:`int`
627627
628+ :param unrestrict_boost_count: Optional. For supergroups, the minimum number of boosts that a non-administrator
629+ user needs to add in order to ignore slow mode and chat permissions. Returned only in getChat.
630+ :type unrestrict_boost_count: :obj:`int`
631+
628632 :param message_auto_delete_time: Optional. The time after which all messages sent to the chat will be
629633 automatically deleted; in seconds. Returned only in getChat.
630634 :type message_auto_delete_time: :obj:`int`
@@ -691,7 +695,8 @@ def __init__(self, id, type, title=None, username=None, first_name=None,
691695 is_forum = None , active_usernames = None , emoji_status_custom_emoji_id = None ,
692696 has_hidden_members = None , has_aggressive_anti_spam_enabled = None , emoji_status_expiration_date = None ,
693697 available_reactions = None , accent_color_id = None , background_custom_emoji_id = None , profile_accent_color_id = None ,
694- profile_background_custom_emoji_id = None , has_visible_history = None , ** kwargs ):
698+ profile_background_custom_emoji_id = None , has_visible_history = None ,
699+ unrestrict_boost_count = None ,** kwargs ):
695700 self .id : int = id
696701 self .type : str = type
697702 self .title : str = title
@@ -727,6 +732,7 @@ def __init__(self, id, type, title=None, username=None, first_name=None,
727732 self .profile_accent_color_id : int = profile_accent_color_id
728733 self .profile_background_custom_emoji_id : str = profile_background_custom_emoji_id
729734 self .has_visible_history : bool = has_visible_history
735+ self .unrestrict_boost_count : int = unrestrict_boost_count
730736
731737
732738
0 commit comments