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:
Desiders 2023-04-08 17:41:00 +03:00 committed by Groosha
parent 7e3e5bd86c
commit 00fbdde4d7
5 changed files with 8 additions and 4 deletions

View file

@ -5,7 +5,7 @@ description: |
Source: https://core.telegram.org/bots/api#inlinequeryresult
multi_parse:
attribute: type
regexp: "must be ([a-z_]+)"
regexp: "must be ([a-z_0-9]+)"
entities:
- InlineQueryResultCachedAudio
- InlineQueryResultCachedDocument