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_FORBIDDEN Polls with public voters cannot be sent in channels.
62
62
BROADCAST_REQUIRED This 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_INVALID The business connection is invalid.
65
65
BUSINESS_CONNECTION_NOT_ALLOWED This business connection is not allowed.
66
66
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).
67
67
BUSINESS_PEER_USAGE_MISSING You 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_EMPTY You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer.
69
+
BUSINESS_RECIPIENTS_INVALID The specified inputBusinessBotRecipients is invalid.
69
70
BUSINESS_WORK_HOURS_EMPTY No work hours were specified.
70
71
BUSINESS_WORK_HOURS_PERIOD_INVALID The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements.
71
72
BUTTON_COPY_TEXT_INVALID The 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_MISSING This supergroup is not a forum.
92
93
CHANNEL_ID_INVALID The specified supergroup ID is invalid.
93
94
CHANNEL_INVALID The provided channel is invalid.
95
+
CHANNEL_MONOFORUM_UNSUPPORTED You cannot use this method in direct chats.
94
96
CHANNEL_PARICIPANT_MISSING The current user is not in the channel.
95
97
CHANNEL_PRIVATE You haven't joined this channel/supergroup.
96
98
CHANNEL_TOO_BIG This channel is too big.
@@ -150,6 +152,7 @@ DATE_EMPTY The date argument is empty.
150
152
DC_ID_INVALID The provided dc_id is invalid.
151
153
DH_G_A_INVALID The g_a parameter is invalid.
152
154
DOCUMENT_INVALID The specified document is invalid.
155
+
EFFECT_ID_INVALID The specified effect id is invalid.
153
156
EMAIL_HASH_EXPIRED The email hash expired and cannot be used to verify it.
154
157
EMAIL_INVALID The specified email is invalid.
155
158
EMAIL_NOT_ALLOWED The 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_FORBIDDEN You can't change administrator settings in this chat because your session was logged-in recently.
220
223
FROM_MESSAGE_BOT_DISABLED Bots can't use fromMessage min constructors.
221
224
FROM_PEER_INVALID The specified from_id is invalid.
225
+
FROZEN_PARTICIPANT_MISSING The account is frozen and cannot access the chat participant.
222
226
GAME_BOT_INVALID You cannot send that game with the current bot.
223
227
GENERAL_MODIFY_ICON_FORBIDDEN You can't modify the icon of the "General" topic.
224
228
GEO_POINT_INVALID Invalid geo point provided.
@@ -354,7 +358,7 @@ PEER_TYPES_INVALID The passed [keyboardButtonSwitchInline](https://core.telegram
354
358
PERSISTENT_TIMESTAMP_EMPTY The pts argument is empty.
355
359
PERSISTENT_TIMESTAMP_INVALID The persistent timestamp is invalid.
356
360
PHONE_CODE_EMPTY The phone code is missing.
357
-
PHONE_CODE_EXPIRED The provided confirmation code has expired.
361
+
PHONE_CODE_EXPIRED The 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_EMPTY The phone code hash is missing.
359
363
PHONE_CODE_INVALID The provided confirmation code is invalid.
360
364
PHONE_HASH_EXPIRED An 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_INVALID The poll question is invalid.
390
394
POLL_UNSUPPORTED This layer does not support polls in the invoked method.
391
395
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method.
396
+
PRECHECKOUT_FAILED Precheckout failed.
392
397
PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.
393
398
PREMIUM_GIFTCODE_WAS_REFUNDED This gift code can't be redeemed because the giveaway organizer requested a refund.
394
399
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).
@@ -425,6 +430,7 @@ REPLY_MARKUP_TOO_LONG The specified reply markup is too long.
425
430
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.
426
431
REPLY_MESSAGE_ID_INVALID The specified reply message id is invalid.
427
432
REPLY_TO_INVALID The specified `reply_to` field is invalid.
433
+
REPLY_TO_MONOFORUM_PEER_INVALID The specified `reply_to` field is invalid.
428
434
REPLY_TO_USER_INVALID The replied-to user is invalid.
429
435
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.
430
436
RESET_REQUEST_MISSING No password reset is in progress.
@@ -439,6 +445,7 @@ RINGTONE_INVALID The specified ringtone is invalid.
439
445
RINGTONE_MIME_INVALID The MIME type for the ringtone is invalid.
SAVED_DIALOGS_UNSUPPORTED You cannot use this method.
448
+
SAVED_PEER_INVALID The saved peer is invalid.
442
449
SCHEDULE_BOT_NOT_ALLOWED Bots are not allowed to schedule messages.
443
450
SCHEDULE_DATE_INVALID Invalid schedule date provided.
444
451
SCHEDULE_DATE_TOO_LATE The 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_UPGRADED This star gift was already upgraded before.
472
479
STARGIFT_CONVERT_TOO_OLD This gift can no longer be converted into stars.
473
480
STARGIFT_INVALID The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.
481
+
STARGIFT_MESSAGE_INVALID The provided message for this gift is invalid.
474
482
STARGIFT_NOT_FOUND The specified star gift was not found.
475
483
STARGIFT_NOT_OWNER You can't control this gift because it doesn't belong to you.
476
484
STARGIFT_RESELL_NOT_ALLOWED You 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_LIMITED The gift is sold out.
481
489
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.
482
490
STARREF_HASH_REVOKED The specified affiliate link was already revoked.
491
+
STARREF_MONTHS_TOO_LOW The `duration_months` parameter must be between 0 and 36.
483
492
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.
484
493
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.
494
+
STARS_AMOUNT_INVALID The specified `paid_stars` amount is invalid.
495
+
STARS_FORM_AMOUNT_MISMATCH The stars form amount mismatch.
485
496
STARS_INVOICE_INVALID The specified Telegram Star invoice is invalid.
486
497
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).
0 commit comments