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 GitHub
parent 268b7e759d
commit 46a7beb668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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