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
BROADCAST_PUBLIC_VOTERS_FORBIDDENPolls with public voters cannot be sent in channels.
62
62
BROADCAST_REQUIREDThis method can only be used with a channel.
63
-
BUSINESS_BOT_MISSINGBusiness bot missing.
63
+
BUSINESS_BOT_MISSINGThe business bot is missing.
64
64
BUSINESS_CONNECTION_INVALIDThe business connection is invalid.
65
65
BUSINESS_CONNECTION_NOT_ALLOWEDThis business connection is not allowed.
66
66
BUSINESS_PEER_INVALIDMessages can't be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots).
67
67
BUSINESS_PEER_USAGE_MISSINGYou cannot send a message to a user through a [business connection](https://core.telegram.org/api/business#connected-bots) if the user hasn't recently contacted us.
68
68
BUSINESS_RECIPIENTS_EMPTYYou didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer.
69
+
BUSINESS_RECIPIENTS_INVALIDThe specified inputBusinessBotRecipients is invalid.
69
70
BUSINESS_WORK_HOURS_EMPTYNo work hours were specified.
70
71
BUSINESS_WORK_HOURS_PERIOD_INVALIDThe specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements.
71
72
BUTTON_COPY_TEXT_INVALIDThe specified [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy).`copy_text` is invalid.
@@ -91,6 +92,7 @@ CHANNEL_BANNED The channel is banned.
91
92
CHANNEL_FORUM_MISSINGThis supergroup is not a forum.
92
93
CHANNEL_ID_INVALIDThe specified supergroup ID is invalid.
93
94
CHANNEL_INVALIDThe provided channel is invalid.
95
+
CHANNEL_MONOFORUM_UNSUPPORTEDYou cannot use this method in direct chats.
94
96
CHANNEL_PARICIPANT_MISSINGThe current user is not in the channel.
95
97
CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
96
98
CHANNEL_TOO_BIGThis channel is too big.
@@ -150,6 +152,7 @@ DATE_EMPTY The date argument is empty.
150
152
DC_ID_INVALIDThe provided dc_id is invalid.
151
153
DH_G_A_INVALIDThe g_a parameter is invalid.
152
154
DOCUMENT_INVALIDThe specified document is invalid.
155
+
EFFECT_ID_INVALIDThe specified effect id is invalid.
153
156
EMAIL_HASH_EXPIREDThe email hash expired and cannot be used to verify it.
154
157
EMAIL_INVALIDThe specified email is invalid.
155
158
EMAIL_NOT_ALLOWEDThe specified email cannot be used to complete the operation.
@@ -219,6 +222,7 @@ FORUM_ENABLED You can't execute the specified action because the group is a [for
219
222
FRESH_CHANGE_ADMINS_FORBIDDENYou can't change administrator settings in this chat because your session was logged-in recently.
220
223
FROM_MESSAGE_BOT_DISABLEDBots can't use fromMessage min constructors.
221
224
FROM_PEER_INVALIDThe specified from_id is invalid.
225
+
FROZEN_PARTICIPANT_MISSINGThe account is frozen and cannot access the chat participant.
222
226
GAME_BOT_INVALIDYou cannot send that game with the current bot.
223
227
GENERAL_MODIFY_ICON_FORBIDDENYou can't modify the icon of the "General" topic.
224
228
GEO_POINT_INVALIDInvalid geo point provided.
@@ -354,7 +358,7 @@ PEER_TYPES_INVALID The passed [keyboardButtonSwitchInline](https://core.telegram
354
358
PERSISTENT_TIMESTAMP_EMPTYThe pts argument is empty.
355
359
PERSISTENT_TIMESTAMP_INVALIDThe persistent timestamp is invalid.
356
360
PHONE_CODE_EMPTYThe phone code is missing.
357
-
PHONE_CODE_EXPIREDThe provided confirmation code has expired.
361
+
PHONE_CODE_EXPIREDThe provided confirmation code has expired. Make sure you haven't sent it to anyone else and use the code on the same connection.
358
362
PHONE_CODE_HASH_EMPTYThe phone code hash is missing.
359
363
PHONE_CODE_INVALIDThe provided confirmation code is invalid.
360
364
PHONE_HASH_EXPIREDAn invalid or expired phone code hash was provided.
@@ -389,6 +393,7 @@ POLL_OPTION_INVALID IA poll option used invalid data (the data may be too long).
389
393
POLL_QUESTION_INVALIDThe poll question is invalid.
390
394
POLL_UNSUPPORTEDThis layer does not support polls in the invoked method.
391
395
POLL_VOTE_REQUIREDCast a vote in the poll before calling this method.
396
+
PRECHECKOUT_FAILEDPrecheckout failed.
392
397
PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.
393
398
PREMIUM_GIFTCODE_WAS_REFUNDEDThis gift code can't be redeemed because the giveaway organizer requested a refund.
394
399
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).
@@ -425,6 +430,7 @@ REPLY_MARKUP_TOO_LONG The specified reply markup is too long.
425
430
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.
426
431
REPLY_MESSAGE_ID_INVALIDThe specified reply message id is invalid.
427
432
REPLY_TO_INVALIDThe specified `reply_to` field is invalid.
433
+
REPLY_TO_MONOFORUM_PEER_INVALIDThe specified `reply_to` field is invalid.
428
434
REPLY_TO_USER_INVALIDThe replied-to user is invalid.
429
435
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.
430
436
RESET_REQUEST_MISSINGNo password reset is in progress.
@@ -439,6 +445,7 @@ RINGTONE_INVALID The specified ringtone is invalid.
439
445
RINGTONE_MIME_INVALIDThe MIME type for the ringtone is invalid.
440
446
RSA_DECRYPT_FAILEDInternal RSA decryption failed.
441
447
SAVED_DIALOGS_UNSUPPORTEDYou cannot use this method.
448
+
SAVED_PEER_INVALIDThe saved peer is invalid.
442
449
SCHEDULE_BOT_NOT_ALLOWEDBots are not allowed to schedule messages.
443
450
SCHEDULE_DATE_INVALIDInvalid schedule date provided.
444
451
SCHEDULE_DATE_TOO_LATEThe date you tried to schedule is too far in the future (more than one year).
@@ -471,6 +478,7 @@ STARGIFT_ALREADY_CONVERTED The provided star gift already converted to stars.
471
478
STARGIFT_ALREADY_UPGRADEDThis star gift was already upgraded before.
472
479
STARGIFT_CONVERT_TOO_OLDThis gift can no longer be converted into stars.
473
480
STARGIFT_INVALIDThe passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.
481
+
STARGIFT_MESSAGE_INVALIDThe provided message for this gift is invalid.
474
482
STARGIFT_NOT_FOUNDThe specified star gift was not found.
475
483
STARGIFT_NOT_OWNERYou can't control this gift because it doesn't belong to you.
476
484
STARGIFT_RESELL_NOT_ALLOWEDYou can't buy this gift. Someone else may have already bought it.
@@ -480,8 +488,11 @@ STARGIFT_UPGRADE_UNAVAILABLE Gift is not available for upgrade yet.
480
488
STARGIFT_USAGE_LIMITEDThe gift is sold out.
481
489
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.
482
490
STARREF_HASH_REVOKEDThe specified affiliate link was already revoked.
491
+
STARREF_MONTHS_TOO_LOWThe `duration_months` parameter must be between 0 and 36.
483
492
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.
484
493
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.
494
+
STARS_AMOUNT_INVALIDThe specified `paid_stars` amount is invalid.
495
+
STARS_FORM_AMOUNT_MISMATCHThe stars form amount mismatch.
485
496
STARS_INVOICE_INVALIDThe specified Telegram Star invoice is invalid.
486
497
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).
0 commit comments