mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Allow to send files
This commit is contained in:
parent
9d980c4b61
commit
5797ab6c99
5 changed files with 91 additions and 20 deletions
|
|
@ -19,7 +19,7 @@ class Request(BaseModel):
|
|||
method: str
|
||||
|
||||
data: Dict[str, Optional[Any]]
|
||||
files: Optional[Dict[str, Union[io.BytesIO, bytes, InputFile]]]
|
||||
files: Optional[Dict[str, InputFile]]
|
||||
|
||||
class Config(BaseConfig):
|
||||
arbitrary_types_allowed = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue