Skip to content

Commit 9c5e3d6

Browse files
Added the field custom_emoji_sticker_set_name to the class Chat.
1 parent 8386a59 commit 9c5e3d6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

telebot/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,10 @@ class Chat(JsonDeserializable):
656656
getChat.
657657
:type can_set_sticker_set: :obj:`bool`
658658
659+
:param custom_emoji_sticker_set_name: Optional. For supergroups, the name of the group's custom emoji sticker set.
660+
Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat.
661+
:param custom_emoji_sticker_set_name: :obj:`str`
662+
659663
:param linked_chat_id: Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for
660664
a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some
661665
programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a
@@ -696,7 +700,7 @@ def __init__(self, id, type, title=None, username=None, first_name=None,
696700
has_hidden_members=None, has_aggressive_anti_spam_enabled=None, emoji_status_expiration_date=None,
697701
available_reactions=None, accent_color_id=None, background_custom_emoji_id=None, profile_accent_color_id=None,
698702
profile_background_custom_emoji_id=None, has_visible_history=None,
699-
unrestrict_boost_count=None,**kwargs):
703+
unrestrict_boost_count=None, custom_emoji_sticker_set_name=None, **kwargs):
700704
self.id: int = id
701705
self.type: str = type
702706
self.title: str = title
@@ -733,6 +737,7 @@ def __init__(self, id, type, title=None, username=None, first_name=None,
733737
self.profile_background_custom_emoji_id: str = profile_background_custom_emoji_id
734738
self.has_visible_history: bool = has_visible_history
735739
self.unrestrict_boost_count: int = unrestrict_boost_count
740+
self.custom_emoji_sticker_set_name: str = custom_emoji_sticker_set_name
736741

737742

738743

0 commit comments

Comments
 (0)