mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added InputMediaType enum
This commit is contained in:
parent
6b27441b7b
commit
c60ee8e40e
10 changed files with 51 additions and 5 deletions
14
.butcher/enums/InputMediaType.yml
Normal file
14
.butcher/enums/InputMediaType.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue