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_INVALIDBroadcast ID invalid.
59
59
BROADCAST_PUBLIC_VOTERS_FORBIDDENYou can't forward polls with public voters.
60
60
BROADCAST_REQUIREDThis method can only be called on a channel, please use stats.getMegagroupStats for supergroups.
61
+
BUSINESS_BOT_MISSINGThe business bot is missing.
61
62
BUSINESS_CONNECTION_INVALIDThe business connection is invalid.
62
63
BUSINESS_CONNECTION_NOT_ALLOWEDThis business connection is not allowed.
63
64
BUSINESS_PEER_INVALIDMessages 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_MISSINGThis supergroup is not a forum.
90
91
CHANNEL_ID_INVALIDThe specified supergroup ID is invalid.
91
92
CHANNEL_INVALIDThe provided channel is invalid.
93
+
CHANNEL_MONOFORUM_UNSUPPORTEDThe provided channel is not supported.
92
94
CHANNEL_PARICIPANT_MISSINGThe current user is not in the channel.
93
95
CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
94
96
CHANNEL_TOO_BIGThis 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_FORBIDDENYou were just elected admin, you can't add or modify other admins yet.
211
213
FROM_MESSAGE_BOT_DISABLEDBots can't use fromMessage min constructors.
212
214
FROM_PEER_INVALIDThe specified from_id is invalid.
215
+
FROZEN_PARTICIPANT_MISSINGThe account is frozen and cannot access the chat participant.
213
216
GAME_BOT_INVALIDBots can't send another bot's game.
214
217
GENERAL_MODIFY_ICON_FORBIDDENYou can't modify the icon of the 'General' topic.
215
218
GEO_POINT_INVALIDInvalid geoposition provided.
@@ -302,6 +305,7 @@ MESSAGE_TOO_LONG The provided message is too long.
302
305
MESSAGE_TOO_OLDThe message is too old, the requested information is not available.
303
306
METHOD_INVALIDThe specified method is invalid.
304
307
MIN_DATE_INVALIDThe specified minimum date is invalid.
308
+
MONOFORUM_FILTER_INVALIDThe specified filter is invalid.
305
309
MSG_ID_INVALIDInvalid 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_INVALIDOne of the poll questions is not acceptable.
375
379
POLL_UNSUPPORTEDThis layer does not support polls in the invoked method
376
380
POLL_VOTE_REQUIREDCast a vote in the poll before calling this method
381
+
PRECHECKOUT_FAILEDprecheckout failed
377
382
PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.
378
383
PRICING_CHAT_INVALIDThe 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_INVALIDThe privacy key is invalid.
@@ -407,6 +412,7 @@ REPLY_MARKUP_TOO_LONG The specified reply_markup is too long.
407
412
REPLY_MESSAGES_TOO_MUCHEach 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_INVALIDThe specified reply-to message ID is invalid.
409
414
REPLY_TO_INVALIDThe specified `reply_to` field is invalid.
415
+
REPLY_TO_MONOFORUM_PEER_INVALIDThe specified `reply_to` field is invalid.
410
416
REPLY_TO_USER_INVALIDThe replied-to user is invalid.
411
417
REQUEST_TOKEN_INVALIDThe 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_MISSINGNo 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_INVALIDThe specified inputCheckPasswordSRP.A value is invalid.
449
455
SRP_ID_INVALIDInvalid SRP ID provided.
450
456
SRP_PASSWORD_CHANGEDPassword has changed.
457
+
STARGIFT_CONVERT_TOO_OLDThis gift can no longer be converted into stars.
451
458
STARGIFT_INVALIDThe passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.
459
+
STARGIFT_MESSAGE_INVALIDThe provided message for this gift is invalid.
452
460
STARGIFT_NOT_FOUNDThe specified star gift was not found.
461
+
STARGIFT_NOT_OWNERYou cannot control this gift because it does not belong to you.
462
+
STARGIFT_RESELL_NOT_ALLOWEDYou cannot buy this gift. Someone else may have already bought it.
463
+
STARGIFT_RESELL_TOO_EARLY_XA wait of {value} seconds is required to resell this gift.
453
464
STARGIFT_SLUG_INVALIDThe provided star gift slug is invalid.
454
465
STARGIFT_USAGE_LIMITEDThe gift is sold out.
455
466
STARREF_AWAITING_ENDThe 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_INVALIDThe 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_LOWThe 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_INVALIDThe specified ``paid_stars`` amount is invalid.
472
+
STARS_FORM_AMOUNT_MISMATCHstars form amount mismatch
461
473
STARS_INVOICE_INVALIDThe specified Telegram Star invoice is invalid.
462
474
STARS_PAYMENT_REQUIREDTo 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_EMPTYThe start parameter is empty.
@@ -532,6 +544,8 @@ TTL_MEDIA_INVALID Invalid media Time To Live was provided.
532
544
TTL_PERIOD_INVALIDThe specified TTL period is invalid.
533
545
TYPES_EMPTYNo top peer type was provided.
534
546
TYPE_CONSTRUCTOR_INVALIDThe type constructor is invalid
547
+
UNKNOWN_ERRORUnknown error.
548
+
UNSUPPORTEDThis method is not supported.
535
549
UNTIL_DATE_INVALIDInvalid until date provided.
536
550
URL_INVALIDInvalid URL provided.
537
551
USAGE_LIMIT_INVALIDThe 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_XPlease 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_XA wait of {value} seconds is required in the test servers
6
6
FLOOD_WAIT_XPlease wait {value} seconds before repeating the action.
7
+
FROZEN_METHOD_INVALIDThe 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_XYou already have a premium subscription active until unixtime {value} .
8
9
SLOWMODE_WAIT_XSlowmode is enabled in this chat: wait {value} seconds before sending another message to this chat.
9
10
STORY_SEND_FLOOD_XA 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