mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Override InputPaidMedia media type to str | InputFile
This commit is contained in:
parent
c59d328408
commit
7634587fa4
4 changed files with 28 additions and 5 deletions
11
.butcher/types/InputPaidMediaPhoto/replace.yml
Normal file
11
.butcher/types/InputPaidMediaPhoto/replace.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
annotations:
|
||||
media:
|
||||
parsed_type:
|
||||
type: union
|
||||
items:
|
||||
- type: std
|
||||
name: str
|
||||
- type: entity
|
||||
references:
|
||||
category: types
|
||||
name: InputFile
|
||||
11
.butcher/types/InputPaidMediaVideo/replace.yml
Normal file
11
.butcher/types/InputPaidMediaVideo/replace.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
annotations:
|
||||
media:
|
||||
parsed_type:
|
||||
type: union
|
||||
items:
|
||||
- type: std
|
||||
name: str
|
||||
- type: entity
|
||||
references:
|
||||
category: types
|
||||
name: InputFile
|
||||
Loading…
Add table
Add a link
Reference in a new issue