mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update methods. Add generated files configurator
This commit is contained in:
parent
87393f2475
commit
9d980c4b61
67 changed files with 230 additions and 165 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
from ..types import InlineKeyboardMarkup, Message
|
||||
from .base import Request, TelegramMethod
|
||||
from ..types import InlineKeyboardMarkup, Message
|
||||
|
||||
|
||||
class EditMessageCaption(TelegramMethod[Union[Message, bool]]):
|
||||
|
|
@ -33,5 +33,5 @@ class EditMessageCaption(TelegramMethod[Union[Message, bool]]):
|
|||
|
||||
def build_request(self) -> Request:
|
||||
data: Dict[str, Any] = self.dict(exclude_unset=True, exclude={})
|
||||
files: Dict[str, Any] = {}
|
||||
return Request(method="editMessageCaption", data=data, files=files)
|
||||
|
||||
return Request(method="editMessageCaption", data=data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue