Added InputMediaType enum

This commit is contained in:
Alex Root Junior 2022-11-22 23:20:27 +02:00
parent 6b27441b7b
commit c60ee8e40e
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
10 changed files with 51 additions and 5 deletions

View file

@ -0,0 +1,14 @@
name: InputMediaType
description: |
This object represents input media type
Source: https://core.telegram.org/bots/api#inputmedia
multi_parse:
attribute: type
regexp: 'must be ([a-z_]+)'
entities:
- InputMediaAnimation
- InputMediaAudio
- InputMediaDocument
- InputMediaPhoto
- InputMediaVideo