diff --git a/pyrogram/methods/invite_links/get_chat_invite_link.py b/pyrogram/methods/invite_links/get_chat_invite_link.py index 8ad575f3..2fa03ded 100644 --- a/pyrogram/methods/invite_links/get_chat_invite_link.py +++ b/pyrogram/methods/invite_links/get_chat_invite_link.py @@ -31,7 +31,7 @@ class GetChatInviteLink: ) -> "types.ChatInviteLink": """Get detailed information about a chat invite link. - .. include:: /_includes/usable-by/users-bots.rst + .. include:: /_includes/usable-by/users.rst Parameters: chat_id (``int`` | ``str``): diff --git a/pyrogram/types/messages_and_media/gift_code.py b/pyrogram/types/messages_and_media/gift_code.py index ab57ee25..01471d5f 100644 --- a/pyrogram/types/messages_and_media/gift_code.py +++ b/pyrogram/types/messages_and_media/gift_code.py @@ -40,6 +40,9 @@ class GiftCode(Object): Identifier of gift code. You can combine it with `t.me/giftcode/{slug}` to get link for this gift. + + mention (``str``, *property*): + Generate a link to this gift code. """ def __init__( diff --git a/pyrogram/types/user_and_chats/chat.py b/pyrogram/types/user_and_chats/chat.py index 61b1fbd9..c8584365 100644 --- a/pyrogram/types/user_and_chats/chat.py +++ b/pyrogram/types/user_and_chats/chat.py @@ -64,13 +64,13 @@ class Chat(Object): is_deactivated (``bool``, *optional*): True, if this chat has been flagged for deactivated. - is_support (``bool``): + is_support (``bool``, *optional*): True, if this chat is part of the Telegram support team. Users and bots only. - is_stories_hidden (``bool``): + is_stories_hidden (``bool``, *optional*): True, if this chat has hidden stories. - is_stories_unavailable (``bool``): + is_stories_unavailable (``bool``, *optional*): True, if this chat stories is unavailable. title (``str``, *optional*): diff --git a/pyrogram/types/user_and_chats/user.py b/pyrogram/types/user_and_chats/user.py index 868e2dcc..a481c752 100644 --- a/pyrogram/types/user_and_chats/user.py +++ b/pyrogram/types/user_and_chats/user.py @@ -100,13 +100,13 @@ class User(Object, Update): is_premium (``bool``, *optional*): True, if this user is a premium user. - is_close_friend (``bool``): + is_close_friend (``bool``, *optional*): True, if this user is a close friend. - is_stories_hidden (``bool``): + is_stories_hidden (``bool``, *optional*): True, if this user has hidden stories. - is_stories_unavailable (``bool``): + is_stories_unavailable (``bool``, *optional*): True, if this chat stories is unavailable. first_name (``str``, *optional*):