You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
<palign="center">A simple, but extensible Python implementation for the <ahref="https://core.telegram.org/bots/api">Telegram Bot API</a>.</p>
11
11
<palign="center">Both synchronous and asynchronous.</p>
12
12
13
-
## <palign="center">Supported Bot API version: <ahref="https://core.telegram.org/bots/api#october-31-2024"><imgsrc="https://img.shields.io/badge/Bot%20API-7.11-blue?logo=telegram"alt="Supported Bot API version"></a>
13
+
## <palign="center">Supported Bot API version: <ahref="https://core.telegram.org/bots/api#november-17-2024"><imgsrc="https://img.shields.io/badge/Bot%20API-8.0-blue?logo=telegram"alt="Supported Bot API version"></a>
Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success.
:param user_id: Identifier of the user whose subscription will be edited
5844
+
:type user_id: :obj:`int`
5845
+
5846
+
:param telegram_payment_charge_id: Telegram payment identifier for the subscription
5847
+
:type telegram_payment_charge_id: :obj:`str`
5848
+
5849
+
:param is_canceled: Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.
:param user_id: Unique identifier of the target user that will receive the gift
6260
+
:type user_id: :obj:`int`
6261
+
6262
+
:param gift_id: Identifier of the gift
6263
+
:type gift_id: :obj:`str`
6264
+
6265
+
:param text: Text that will be shown along with the gift; 0-255 characters
6266
+
:type text: :obj:`str`
6267
+
6268
+
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
6269
+
:type text_parse_mode: :obj:`str`
6270
+
6271
+
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
6272
+
:type text_entities: :obj:`list` of :obj:`types.MessageEntity`
0 commit comments