mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bot API 6.6 (#1139)
* Added basic support of Bot API 6.6 * Update descriptions * Added StickerFormat enum * Bump version * Refresh from docs * Fixed CommandStart * Fixed files uploading * Cover new functionality * Added changelog * Update texts
This commit is contained in:
parent
5adaf7a567
commit
6570d0bab1
218 changed files with 7687 additions and 1741 deletions
|
|
@ -11,6 +11,7 @@ from .menu_button_type import MenuButtonType
|
|||
from .message_entity_type import MessageEntityType
|
||||
from .parse_mode import ParseMode
|
||||
from .poll_type import PollType
|
||||
from .sticker_format import StickerFormat
|
||||
from .sticker_type import StickerType
|
||||
from .topic_icon_color import TopicIconColor
|
||||
from .update_type import UpdateType
|
||||
|
|
@ -29,6 +30,7 @@ __all__ = (
|
|||
"MessageEntityType",
|
||||
"ParseMode",
|
||||
"PollType",
|
||||
"StickerFormat",
|
||||
"StickerType",
|
||||
"TopicIconColor",
|
||||
"UpdateType",
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ from enum import Enum
|
|||
|
||||
class InlineQueryResultType(str, Enum):
|
||||
"""
|
||||
The part of the face relative to which the mask should be placed.
|
||||
Type of inline query result
|
||||
|
||||
Source: https://core.telegram.org/bots/api#maskposition
|
||||
Source: https://core.telegram.org/bots/api#inlinequeryresult
|
||||
"""
|
||||
|
||||
AUDIO = "audio"
|
||||
|
|
|
|||
13
aiogram/enums/sticker_format.py
Normal file
13
aiogram/enums/sticker_format.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from enum import Enum
|
||||
|
||||
|
||||
class StickerFormat(str, Enum):
|
||||
"""
|
||||
Format of the sticker
|
||||
|
||||
Source: https://core.telegram.org/bots/api#createnewstickerset
|
||||
"""
|
||||
|
||||
STATIC = "static"
|
||||
ANIMATED = "animated"
|
||||
VIDEO = "video"
|
||||
Loading…
Add table
Add a link
Reference in a new issue