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: compiler/errors/source/400_BAD_REQUEST.tsv
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ BOT_WEBVIEW_DISABLED A webview cannot be opened in the specified conditions: emi
58
58
BROADCAST_ID_INVALID Broadcast ID invalid.
59
59
BROADCAST_PUBLIC_VOTERS_FORBIDDEN You can't forward polls with public voters.
60
60
BROADCAST_REQUIRED This method can only be called on a channel, please use stats.getMegagroupStats for supergroups.
61
+
BUSINESS_BOT_MISSING The business bot is missing.
61
62
BUSINESS_CONNECTION_INVALID The business connection is invalid.
62
63
BUSINESS_CONNECTION_NOT_ALLOWED This business connection is not allowed.
63
64
BUSINESS_PEER_INVALID Messages can't be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots).
@@ -89,6 +90,7 @@ CHANNEL_BANNED The channel is banned
89
90
CHANNEL_FORUM_MISSING This supergroup is not a forum.
90
91
CHANNEL_ID_INVALID The specified supergroup ID is invalid.
91
92
CHANNEL_INVALID The provided channel is invalid.
93
+
CHANNEL_MONOFORUM_UNSUPPORTED The provided channel is not supported.
92
94
CHANNEL_PARICIPANT_MISSING The current user is not in the channel.
93
95
CHANNEL_PRIVATE You haven't joined this channel/supergroup.
94
96
CHANNEL_TOO_BIG This channel has too many participants (>1000) to be deleted.
@@ -210,6 +212,7 @@ FORUM_ENABLED You can't execute the specified action because the group is a [for
210
212
FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet.
211
213
FROM_MESSAGE_BOT_DISABLED Bots can't use fromMessage min constructors.
212
214
FROM_PEER_INVALID The specified from_id is invalid.
215
+
FROZEN_PARTICIPANT_MISSING The account is frozen and cannot access the chat participant.
213
216
GAME_BOT_INVALID Bots can't send another bot's game.
214
217
GENERAL_MODIFY_ICON_FORBIDDEN You can't modify the icon of the 'General' topic.
215
218
GEO_POINT_INVALID Invalid geoposition provided.
@@ -302,6 +305,7 @@ MESSAGE_TOO_LONG The provided message is too long.
302
305
MESSAGE_TOO_OLD The message is too old, the requested information is not available.
303
306
METHOD_INVALID The specified method is invalid.
304
307
MIN_DATE_INVALID The specified minimum date is invalid.
308
+
MONOFORUM_FILTER_INVALID The specified filter is invalid.
305
309
MSG_ID_INVALID Invalid message ID provided.
306
310
MSG_TOO_OLD [`chat_read_mark_expire_period` seconds](https://core.telegram.org/api/config#chat-read-mark-expire-period) have passed since the message was sent, read receipts were deleted.
POLL_QUESTION_INVALID One of the poll questions is not acceptable.
375
379
POLL_UNSUPPORTED This layer does not support polls in the invoked method
376
380
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
381
+
PRECHECKOUT_FAILED precheckout failed
377
382
PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.
378
383
PRICING_CHAT_INVALID The pricing for the [subscription](https://core.telegram.org/api/subscriptions) is invalid, the maximum price is specified in the [`stars_subscription_amount_max` config key](https://core.telegram.org/api/config#stars-subscription-amount-max).
379
384
PRIVACY_KEY_INVALID The privacy key is invalid.
@@ -407,6 +412,7 @@ REPLY_MARKUP_TOO_LONG The specified reply_markup is too long.
407
412
REPLY_MESSAGES_TOO_MUCH Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached.
408
413
REPLY_MESSAGE_ID_INVALID The specified reply-to message ID is invalid.
409
414
REPLY_TO_INVALID The specified `reply_to` field is invalid.
415
+
REPLY_TO_MONOFORUM_PEER_INVALID The specified `reply_to` field is invalid.
410
416
REPLY_TO_USER_INVALID The replied-to user is invalid.
411
417
REQUEST_TOKEN_INVALID The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.
412
418
RESET_REQUEST_MISSING No password reset is in progress.
@@ -448,8 +454,13 @@ SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code.
448
454
SRP_A_INVALID The specified inputCheckPasswordSRP.A value is invalid.
449
455
SRP_ID_INVALID Invalid SRP ID provided.
450
456
SRP_PASSWORD_CHANGED Password has changed.
457
+
STARGIFT_CONVERT_TOO_OLD This gift can no longer be converted into stars.
451
458
STARGIFT_INVALID The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.
459
+
STARGIFT_MESSAGE_INVALID The provided message for this gift is invalid.
452
460
STARGIFT_NOT_FOUND The specified star gift was not found.
461
+
STARGIFT_NOT_OWNER You cannot control this gift because it does not belong to you.
462
+
STARGIFT_RESELL_NOT_ALLOWED You cannot buy this gift. Someone else may have already bought it.
463
+
STARGIFT_RESELL_TOO_EARLY_X A wait of {value} seconds is required to resell this gift.
453
464
STARGIFT_SLUG_INVALID The provided star gift slug is invalid.
454
465
STARGIFT_USAGE_LIMITED The gift is sold out.
455
466
STARREF_AWAITING_END The previous referral program was terminated less than 24 hours ago: further changes can be made after the date specified in userFull.starref_program.end_date.
@@ -458,6 +469,7 @@ STARREF_MONTHS_TOO_LOW The ``duration_months`` parameter must be between 0 and 3
458
469
STARREF_PERMILLE_INVALID The specified commission_permille is invalid: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters.
459
470
STARREF_PERMILLE_TOO_LOW The specified commission_permille is too low: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters.
460
471
STARS_AMOUNT_INVALID The specified ``paid_stars`` amount is invalid.
472
+
STARS_FORM_AMOUNT_MISMATCH stars form amount mismatch
461
473
STARS_INVOICE_INVALID The specified Telegram Star invoice is invalid.
462
474
STARS_PAYMENT_REQUIRED To import this chat invite link, you must first [pay for the associated Telegram Star subscription](https://core.telegram.org/api/subscriptions#channel-subscriptions).
463
475
START_PARAM_EMPTY The start parameter is empty.
@@ -532,6 +544,8 @@ TTL_MEDIA_INVALID Invalid media Time To Live was provided.
532
544
TTL_PERIOD_INVALID The specified TTL period is invalid.
533
545
TYPES_EMPTY No top peer type was provided.
534
546
TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
547
+
UNKNOWN_ERROR Unknown error.
548
+
UNSUPPORTED This method is not supported.
535
549
UNTIL_DATE_INVALID Invalid until date provided.
536
550
URL_INVALID Invalid URL provided.
537
551
USAGE_LIMIT_INVALID The specified usage limit is invalid.
Copy file name to clipboardExpand all lines: compiler/errors/source/420_FLOOD.tsv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ ADDRESS_INVALID The specified geopoint address is invalid.
4
4
FLOOD_PREMIUM_WAIT_X Please wait {value} seconds before repeating the action, or purchase a [Telegram Premium subscription](https://core.telegram.org/api/premium) to remove this rate limit.
5
5
FLOOD_TEST_PHONE_WAIT_X A wait of {value} seconds is required in the test servers
6
6
FLOOD_WAIT_X Please wait {value} seconds before repeating the action.
7
+
FROZEN_METHOD_INVALID The method cannot be used by frozen account. You can appeal via @SpamBot if you believe this was a mistake.
7
8
PREMIUM_SUB_ACTIVE_UNTIL_X You already have a premium subscription active until unixtime {value} .
8
9
SLOWMODE_WAIT_X Slowmode is enabled in this chat: wait {value} seconds before sending another message to this chat.
9
10
STORY_SEND_FLOOD_X A wait of {value} seconds is required to continue posting stories
Copy file name to clipboardExpand all lines: docs/source/releases/changes-in-this-fork.rst
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,23 @@ Changes in this Fork
32
32
=====================
33
33
34
34
+------------------------+
35
-
| Scheme layer used: 203 |
36
-
+------------------------+
37
-
38
-
- View `new and changed <https://telegramplayground.github.io/TG-APIs/TL/diff/tdlib.html?from=202&to=203>`__ `raw API methods <https://telegramplayground.github.io/TG-APIs/TL/diff/tdesktop.html?from=202&to=203>`__.
35
+
| Scheme layer used: 205 |
36
+
+------------------------+
37
+
38
+
- Added the :obj:`~pyrogram.types.ChecklistTask` representing a task in a checklist.
39
+
- Added the :obj:`~pyrogram.types.Checklist` representing a checklist.
40
+
- Added the :obj:`~pyrogram.types.InputChecklistTask` representing a task to add to a checklist.
41
+
- Added the :obj:`~pyrogram.types.InputChecklist` representing a checklist to create.
42
+
- Added the field ``checklist`` to the :obj:`~pyrogram.types.Message` and :obj:`~pyrogram.types.ExternalReplyInfo`, describing a checklist in a message.
43
+
- Added the :obj:`~pyrogram.types.ChecklistTasksDone` and the field ``checklist_tasks_done`` to the :obj:`~pyrogram.types.Message`, describing a service message about status changes for tasks in a checklist (i.e., marked as done/not done).
44
+
- Added the :obj:`~pyrogram.types.ChecklistTasksAdded` and the field ``checklist_tasks_added`` to the :obj:`~pyrogram.types.Message`, describing a service message about the addition of new tasks to a checklist.
45
+
- Added the :meth:`~pyrogram.Client.send_checklist`, allowing bots to send a checklist on behalf of a business account.
46
+
- Added the :meth:`~pyrogram.Client.edit_message_checklist`, allowing bots to edit a checklist on behalf of a business account.
47
+
- Added the :obj:`~pyrogram.types.DirectMessagePriceChanged` and the field ``direct_message_price_changed`` to the :obj:`~pyrogram.types.Message`, describing a service message about a price change for direct messages sent to the channel chat.
48
+
- `Fix conditions for recover_gaps <https://github.com/KurimuzonAkuma/pyrogram/commit/b59ae77>`__.
49
+
- Added ``reply_parameters`` in :meth:`~pyrogram.Client.forward_messages`.
50
+
- Increased the maximum number of options in a poll to 12.
51
+
- View `new and changed <https://telegramplayground.github.io/TG-APIs/TL/diff/tdlib.html?from=202&to=205>`__ `raw API methods <https://telegramplayground.github.io/TG-APIs/TL/diff/tdesktop.html?from=202&to=205>`__.
0 commit comments