mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Regenerate code
This commit is contained in:
parent
5d1c54aa17
commit
4189c3e798
77 changed files with 271 additions and 233 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
from .base import Request, TelegramMethod
|
||||
from ..types import InlineKeyboardMarkup, Message
|
||||
from .base import Request, TelegramMethod
|
||||
|
||||
|
||||
class EditMessageCaption(TelegramMethod[Union[Message, bool]]):
|
||||
|
|
@ -32,6 +32,6 @@ class EditMessageCaption(TelegramMethod[Union[Message, bool]]):
|
|||
"""A JSON-serialized object for an inline keyboard."""
|
||||
|
||||
def build_request(self) -> Request:
|
||||
data: Dict[str, Any] = self.dict(exclude_unset=True, exclude={})
|
||||
data: Dict[str, Any] = self.dict()
|
||||
|
||||
return Request(method="editMessageCaption", data=data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue