mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix EditMessageMedia
This commit is contained in:
parent
54a77b369e
commit
a83dd3ca63
2 changed files with 19 additions and 12 deletions
|
|
@ -35,11 +35,11 @@ class Response(ResponseParameters, GenericModel, Generic[T]):
|
|||
|
||||
class TelegramMethod(abc.ABC, BaseModel, Generic[T]):
|
||||
class Config(BaseConfig):
|
||||
use_enum_values = True
|
||||
extra = Extra.allow
|
||||
# use_enum_values = True
|
||||
# extra = Extra.allow
|
||||
allow_population_by_field_name = True
|
||||
arbitrary_types_allowed = True
|
||||
# orm_mode = True
|
||||
orm_mode = True
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue