mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Change InlineQueryResultType.MPEG to more correct (#1146)
* Change `InlineQueryResultType.MPEG` to `InlineQueryResultType.MPEG4GIF` * Change regexp for parse entities * Use code generator to fix types * Add changelog
This commit is contained in:
parent
268b7e759d
commit
46a7beb668
5 changed files with 8 additions and 4 deletions
|
|
@ -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.MPEG4_GIF, 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.MPEG4_GIF, 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