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#november-17-2024"><imgsrc="https://img.shields.io/badge/Bot%20API-8.0-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.1-blue?logo=telegram"alt="Supported Bot API version"></a>
:param type: Type of the transaction partner, always “affiliate_program”
11117
+
:type type: :obj:`str`
11118
+
11119
+
:param sponsor_user: Optional. Information about the bot that sponsored the affiliate program
11120
+
:type sponsor_user: :class:`User`
11121
+
11122
+
:param commission_per_mille: The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users
:param affiliate_user: Optional. The bot or the user that received an affiliate commission if it was received by a bot or a user
11151
+
:type affiliate_user: :class:`User`
11152
+
11153
+
:param affiliate_chat: Optional. The chat that received an affiliate commission if it was received by a chat
11154
+
:type affiliate_chat: :class:`Chat`
11155
+
11156
+
:param commission_per_mille: The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred users
11157
+
:type commission_per_mille: :obj:`int`
11158
+
11159
+
:param amount: Integer amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds
11160
+
:type amount: :obj:`int`
11161
+
11162
+
:param nanostar_amount: Optional. The number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds
0 commit comments