mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Telegram Bot API 9.3 (#1747)
* Added full support of Telegram Bot API 9.3 * Fixed tests that fails * Add tests for `GetChatGifts`, `GetUserGifts`, `RepostStory`, and `SendMessageDraft` methods * Added changelog record
This commit is contained in:
parent
ce4ddb77f4
commit
dcff0f99c7
132 changed files with 2993 additions and 457 deletions
|
|
@ -18,7 +18,7 @@ class SendGift(TelegramMethod[bool]):
|
|||
__api_method__ = "sendGift"
|
||||
|
||||
gift_id: str
|
||||
"""Identifier of the gift"""
|
||||
"""Identifier of the gift; limited gifts can't be sent to channel chats"""
|
||||
user_id: Optional[int] = None
|
||||
"""Required if *chat_id* is not specified. Unique identifier of the target user who will receive the gift."""
|
||||
chat_id: Optional[ChatIdUnion] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue