mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Change InlineQueryResultType.MPEG to InlineQueryResultType.MPEG4GIF
This commit is contained in:
parent
fea1b7b0a3
commit
1839c233b7
3 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ class InlineQueryResultType(str, Enum):
|
|||
AUDIO = "audio"
|
||||
DOCUMENT = "document"
|
||||
GIF = "gif"
|
||||
MPEG = "mpeg"
|
||||
MPEG4GIF = "mpeg4_gif"
|
||||
PHOTO = "photo"
|
||||
STICKER = "sticker"
|
||||
VIDEO = "video"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class InlineQueryResultCachedMpeg4Gif(InlineQueryResult):
|
|||
Source: https://core.telegram.org/bots/api#inlinequeryresultcachedmpeg4gif
|
||||
"""
|
||||
|
||||
type: str = Field(InlineQueryResultType.MPEG, const=True)
|
||||
type: str = Field(InlineQueryResultType.MPEG4GIF, const=True)
|
||||
"""Type of the result, must be *mpeg4_gif*"""
|
||||
id: str
|
||||
"""Unique identifier for this result, 1-64 bytes"""
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class InlineQueryResultMpeg4Gif(InlineQueryResult):
|
|||
Source: https://core.telegram.org/bots/api#inlinequeryresultmpeg4gif
|
||||
"""
|
||||
|
||||
type: str = Field(InlineQueryResultType.MPEG, const=True)
|
||||
type: str = Field(InlineQueryResultType.MPEG4GIF, const=True)
|
||||
"""Type of the result, must be *mpeg4_gif*"""
|
||||
id: str
|
||||
"""Unique identifier for this result, 1-64 bytes"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue