Update from API docs

This commit is contained in:
Alex Root Junior 2023-01-07 22:41:36 +02:00
parent d8e943424a
commit c5f3569471
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
7 changed files with 17 additions and 17 deletions

View file

@ -22,7 +22,7 @@ class EditForumTopic(TelegramMethod[bool]):
message_thread_id: int
"""Unique identifier for the target message thread of the forum topic"""
name: Optional[str] = None
"""New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept"""
"""New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept"""
icon_custom_emoji_id: Optional[str] = None
"""New unique identifier of the custom emoji shown as the topic icon. Use :class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers` to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept"""

View file

@ -29,7 +29,7 @@ class GetChatMember(
]
):
"""
Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.
Use this method to get information about a member of a chat. The method is guaranteed to work for other users, only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.
Source: https://core.telegram.org/bots/api#getchatmember
"""