Re-generate methods (only attributes)

This commit is contained in:
Alex Root Junior 2022-11-19 22:57:12 +02:00
parent 37a9c8d64f
commit cdab2301c6
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class CreateForumTopic(TelegramMethod[ForumTopic]):
name: str
"""Topic name, 1-128 characters"""
icon_color: Optional[int] = None
"""Color of the topic icon in RGB format. Currently, must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F"""
"""Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F)"""
icon_custom_emoji_id: Optional[str] = None
"""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."""

View file

@ -24,7 +24,7 @@ class EditForumTopic(TelegramMethod[bool]):
name: str
"""New topic name, 1-128 characters"""
icon_custom_emoji_id: str
"""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"""
"""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."""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()