mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-12-12 13:30:09 +00:00
4aa7fc49ef
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
34 KiB
34 KiB
1 | id | message |
---|---|---|
2 | ABOUT_TOO_LONG | The provided about/bio text is too long |
3 | ACCESS_TOKEN_EXPIRED | The bot token has expired |
4 | ACCESS_TOKEN_INVALID | The bot access token is invalid |
5 | ADDRESS_INVALID | The specified geopoint address is invalid. |
6 | ADMINS_TOO_MUCH | The chat has too many administrators |
7 | ADMIN_ID_INVALID | The specified admin ID is invalid |
8 | ADMIN_RANK_EMOJI_NOT_ALLOWED | Emoji are not allowed in custom administrator titles |
9 | ADMIN_RANK_INVALID | The custom administrator title is invalid or too long |
10 | ADMIN_RIGHTS_EMPTY | The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0). |
11 | ALBUM_PHOTOS_TOO_MANY | Too many photos were included in the album |
12 | API_ID_INVALID | The api_id/api_hash combination is invalid |
13 | API_ID_PUBLISHED_FLOOD | You are using an API key that is limited on the server side because it was published somewhere |
14 | ARTICLE_TITLE_EMPTY | The article title is empty |
15 | AUDIO_CONTENT_URL_EMPTY | The remote URL specified in the content field is empty |
16 | AUDIO_TITLE_EMPTY | The title attribute of the audio is empty |
17 | AUTH_BYTES_INVALID | The authorization bytes are invalid |
18 | AUTH_TOKEN_ALREADY_ACCEPTED | The authorization token was already used |
19 | AUTH_TOKEN_EXCEPTION | An error occurred while importing the auth token |
20 | AUTH_TOKEN_EXPIRED | The provided authorization token has expired and the updated QR-code must be re-scanned |
21 | AUTH_TOKEN_INVALID | An invalid authorization token was provided |
22 | AUTH_TOKEN_INVALID2 | An invalid authorization token was provided |
23 | AUTH_TOKEN_INVALIDX | The specified auth token is invalid |
24 | AUTOARCHIVE_NOT_AVAILABLE | This feature is not yet enabled for your account due to it not receiving too many private messages from strangers |
25 | BANK_CARD_NUMBER_INVALID | The credit card number is invalid |
26 | BANNED_RIGHTS_INVALID | You provided a set of restrictions that is invalid |
27 | BASE_PORT_LOC_INVALID | The base port location is invalid |
28 | BIRTHDAY_INVALID | The age should be less than 150 year old in Telegram |
29 | BOOSTS_EMPTY | Boosts empty |
30 | BOOSTS_REQUIRED | Boosts required |
31 | BOOST_NOT_MODIFIED | You're already [boosting](https://core.telegram.org/api/boost) the specified channel. |
32 | BOOST_PEER_INVALID | The specified `boost_peer` is invalid. |
33 | BOTS_TOO_MUCH | The chat has too many bots |
34 | BOT_APP_INVALID | The specified bot app is invalid. |
35 | BOT_APP_SHORTNAME_INVALID | The specified bot app short name is invalid. |
36 | BOT_CHANNELS_NA | Bots can't edit admin privileges |
37 | BOT_COMMAND_DESCRIPTION_INVALID | The command description was empty, too long or had invalid characters |
38 | BOT_COMMAND_INVALID | The specified command is invalid |
39 | BOT_DOMAIN_INVALID | The domain used for the auth button does not match the one configured in @BotFather |
40 | BOT_GAMES_DISABLED | Bot games cannot be used in this type of chat |
41 | BOT_GROUPS_BLOCKED | This bot can't be added to groups |
42 | BOT_INLINE_DISABLED | The inline feature of the bot is disabled |
43 | BOT_INVALID | This is not a valid bot |
44 | BOT_METHOD_INVALID | The method can't be used by bots |
45 | BOT_MISSING | This method can only be run by a bot |
46 | BOT_ONESIDE_NOT_AVAIL | Bots can't pin messages for one side only in private chats |
47 | BOT_PAYMENTS_DISABLED | This method can only be run by a bot |
48 | BOT_POLLS_DISABLED | Sending polls by bots has been disabled |
49 | BOT_RESPONSE_TIMEOUT | The bot did not answer to the callback query in time |
50 | BOT_SCORE_NOT_MODIFIED | The bot score was not modified |
51 | BOT_WEBVIEW_DISABLED | A webview cannot be opened in the specified conditions: emitted for example if `from_bot_menu` or `url` are set and `peer` is not the chat with the bot. |
52 | BROADCAST_CALLS_DISABLED | Broadcast calls disabled |
53 | BROADCAST_ID_INVALID | The channel is invalid |
54 | BROADCAST_PUBLIC_VOTERS_FORBIDDEN | Polls with public voters cannot be sent in channels |
55 | BROADCAST_REQUIRED | The request can only be used with a channel |
56 | BUTTON_DATA_INVALID | The button callback data is invalid or too large |
57 | BUTTON_ID_INVALID | The button_id parameter is invalid |
58 | BUTTON_TEXT_INVALID | The specified button text is invalid |
59 | BUTTON_TYPE_INVALID | The type of one of the buttons you provided is invalid |
60 | BUTTON_URL_INVALID | The button url is invalid |
61 | BUTTON_USER_INVALID | The user_id passed to inputKeyboardButtonUserProfile is invalid |
62 | BUTTON_USER_PRIVACY_RESTRICTED | The privacy settings of the user specified in a keyboard button do not allow creating such button |
63 | CALL_ALREADY_ACCEPTED | The call is already accepted |
64 | CALL_ALREADY_DECLINED | The call is already declined |
65 | CALL_OCCUPY_FAILED | The call failed because the user is already making another call. |
66 | CALL_PEER_INVALID | The provided call peer object is invalid |
67 | CALL_PROTOCOL_FLAGS_INVALID | Call protocol flags invalid |
68 | CDN_METHOD_INVALID | The method can't be used on CDN DCs |
69 | CHANNELS_ADMIN_LOCATED_TOO_MUCH | The user has reached the limit of public geogroups |
70 | CHANNELS_ADMIN_PUBLIC_TOO_MUCH | You are an administrator of too many public channels |
71 | CHANNELS_TOO_MUCH | You have joined too many channels or supergroups, leave some and try again |
72 | CHANNEL_ADD_INVALID | Internal error. |
73 | CHANNEL_BANNED | The channel is banned |
74 | CHANNEL_FORUM_MISSING | The channel forum is missing |
75 | CHANNEL_ID_INVALID | The specified supergroup ID is invalid. |
76 | CHANNEL_INVALID | The channel parameter is invalid |
77 | CHANNEL_PARICIPANT_MISSING | The current user is not in the channel |
78 | CHANNEL_PRIVATE | The channel/supergroup is not accessible |
79 | CHANNEL_TOO_BIG | The channel too big |
80 | CHANNEL_TOO_LARGE | The channel is too large |
81 | CHARGE_ALREADY_REFUNDED | The charge id was already used for a refund. |
82 | CHARGE_NOT_FOUND | The charge id was not found. |
83 | CHATLISTS_TOO_MUCH | You have too much chatlists on your account |
84 | CHATLIST_EXCLUDE_INVALID | The specified `exclude_peers` are invalid. |
85 | CHAT_ABOUT_NOT_MODIFIED | The chat about text was not modified because you tried to edit it using the same content |
86 | CHAT_ABOUT_TOO_LONG | The chat about text is too long |
87 | CHAT_ADMIN_REQUIRED | The method requires chat admin privileges |
88 | CHAT_DISCUSSION_UNALLOWED | The chat discussion is not allowed |
89 | CHAT_FORWARDS_RESTRICTED | The chat restricts forwarding content |
90 | CHAT_ID_EMPTY | The provided chat id is empty |
91 | CHAT_ID_INVALID | The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it |
92 | CHAT_INVALID | The chat is invalid |
93 | CHAT_INVITE_PERMANENT | The chat invite link is primary |
94 | CHAT_LINK_EXISTS | The action failed because the supergroup is linked to a channel |
95 | CHAT_NOT_MODIFIED | The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content |
96 | CHAT_PUBLIC_REQUIRED | You can only enable join requests in public groups. |
97 | CHAT_RESTRICTED | The chat is restricted and cannot be used |
98 | CHAT_REVOKE_DATE_UNSUPPORTED | `min_date` and `max_date` are not available for using with non-user peers |
99 | CHAT_SEND_INLINE_FORBIDDEN | You cannot use inline bots to send messages in this chat |
100 | CHAT_TITLE_EMPTY | The chat title is empty |
101 | CHAT_TOO_BIG | The chat is too big for this action |
102 | CODE_EMPTY | The provided code is empty |
103 | CODE_HASH_INVALID | The provided code hash invalid |
104 | CODE_INVALID | The provided code is invalid (i.e. from email) |
105 | COLOR_INVALID | The provided color is invalid |
106 | CONNECTION_API_ID_INVALID | The provided API id is invalid |
107 | CONNECTION_APP_VERSION_EMPTY | App version is empty |
108 | CONNECTION_DEVICE_MODEL_EMPTY | The device model is empty |
109 | CONNECTION_LANG_PACK_INVALID | The specified language pack is not valid |
110 | CONNECTION_LAYER_INVALID | The connection layer is invalid. Missing InvokeWithLayer-InitConnection call |
111 | CONNECTION_NOT_INITED | The connection was not initialized |
112 | CONNECTION_SYSTEM_EMPTY | The connection to the system is empty |
113 | CONNECTION_SYSTEM_LANG_CODE_EMPTY | The system language code is empty |
114 | CONTACT_ADD_MISSING | Contact to add is missing |
115 | CONTACT_ID_INVALID | The provided contact id is invalid |
116 | CONTACT_MISSING | The specified user is not a contact. |
117 | CONTACT_NAME_EMPTY | The provided contact name is empty |
118 | CONTACT_REQ_MISSING | Missing contact request |
119 | CREATE_CALL_FAILED | An error occurred while creating the call |
120 | CURRENCY_TOTAL_AMOUNT_INVALID | The total amount of all prices is invalid |
121 | CUSTOM_REACTIONS_TOO_MANY | Too many custom reactions were specified. |
122 | DATA_INVALID | The encrypted data is invalid |
123 | DATA_JSON_INVALID | The provided JSON data is invalid |
124 | DATA_TOO_LONG | Data too long |
125 | DATE_EMPTY | The date argument is empty |
126 | DC_ID_INVALID | The dc_id parameter is invalid |
127 | DH_G_A_INVALID | The g_a parameter invalid |
128 | DOCUMENT_INVALID | The document is invalid |
129 | EMAIL_HASH_EXPIRED | The email hash expired and cannot be used to verify it |
130 | EMAIL_INVALID | The email provided is invalid |
131 | EMAIL_NOT_ALLOWED | This email is not allowed |
132 | EMAIL_NOT_SETUP | In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup. |
133 | EMAIL_UNCONFIRMED | Email unconfirmed |
134 | EMAIL_UNCONFIRMED_X | The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email |
135 | EMAIL_VERIFY_EXPIRED | The verification email has expired |
136 | EMOJI_INVALID | The specified theme emoji is valid |
137 | EMOJI_MARKUP_INVALID | The specified `video_emoji_markup` was invalid. |
138 | EMOJI_NOT_MODIFIED | The theme wasn't changed |
139 | EMOTICON_EMPTY | The emoticon parameter is empty |
140 | EMOTICON_INVALID | The emoticon parameter is invalid |
141 | EMOTICON_STICKERPACK_MISSING | The emoticon sticker pack you are trying to obtain is missing |
142 | ENCRYPTED_MESSAGE_INVALID | The special binding message (bind_auth_key_inner) contains invalid data |
143 | ENCRYPTION_ALREADY_ACCEPTED | The secret chat is already accepted |
144 | ENCRYPTION_ALREADY_DECLINED | The secret chat is already declined |
145 | ENCRYPTION_DECLINED | The secret chat was declined |
146 | ENCRYPTION_ID_INVALID | The provided secret chat id is invalid |
147 | ENTITIES_TOO_LONG | The entity provided contains data that is too long, or you passed too many entities to this message |
148 | ENTITY_BOUNDS_INVALID | The message entity bounds are invalid |
149 | ENTITY_MENTION_USER_INVALID | The mentioned entity is not an user |
150 | ERROR_TEXT_EMPTY | The provided error message is empty |
151 | EXPIRE_DATE_INVALID | The expiration date is invalid |
152 | EXPIRE_FORBIDDEN | Expire forbidden |
153 | EXPORT_CARD_INVALID | The provided card is invalid |
154 | EXTENDED_MEDIA_AMOUNT_INVALID | The maximum amount of `star_count` should be less than the `stars_paid_post_amount_max` [client configuration parameters](/api/config). |
155 | EXTENDED_MEDIA_PEER_INVALID | The specified chat type is invalid. |
156 | EXTENDED_MEDIA_TYPE_INVALID | The specified extended media type is unsupported. |
157 | EXTERNAL_URL_INVALID | The external media URL is invalid |
158 | FIELD_NAME_EMPTY | The field with the name FIELD_NAME is missing |
159 | FIELD_NAME_INVALID | The field with the name FIELD_NAME is invalid |
160 | FILE_CONTENT_TYPE_INVALID | File content-type is invalid |
161 | FILE_EMTPY | An empty file was provided |
162 | FILE_ID_INVALID | The file id is invalid |
163 | FILE_MIGRATE_X | The file is in Data Center No. {value} |
164 | FILE_PARTS_INVALID | Invalid number of parts. |
165 | FILE_PART_0_MISSING | File part 0 missing |
166 | FILE_PART_EMPTY | The file part sent is empty |
167 | FILE_PART_INVALID | The file part number is invalid. |
168 | FILE_PART_LENGTH_INVALID | The length of a file part is invalid |
169 | FILE_PART_SIZE_CHANGED | The part size is different from the size of one of the previous parts in the same file |
170 | FILE_PART_SIZE_INVALID | The file part size is invalid |
171 | FILE_PART_TOO_BIG | The size limit for the content of the file part has been exceeded |
172 | FILE_PART_X_MISSING | Part {value} of the file is missing from storage |
173 | FILE_REFERENCE_EMPTY | The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context |
174 | FILE_REFERENCE_EXPIRED | The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context |
175 | FILE_REFERENCE_INVALID | The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context |
176 | FILE_TITLE_EMPTY | An empty file title was specified |
177 | FILE_TOKEN_INVALID | The specified file token is invalid. |
178 | FILTER_ID_INVALID | The specified filter ID is invalid |
179 | FILTER_INCLUDE_EMPTY | The filter include is empty |
180 | FILTER_NOT_SUPPORTED | The specified filter cannot be used in this context |
181 | FILTER_TITLE_EMPTY | The title field of the filter is empty |
182 | FIRSTNAME_INVALID | The first name is invalid |
183 | FOLDER_ID_EMPTY | The folder you tried to delete was already empty |
184 | FOLDER_ID_INVALID | The folder id is invalid |
185 | FORM_ID_EXPIRED | The specified id has expired. |
186 | FORUM_ENABLED | You can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue. |
187 | FRESH_CHANGE_ADMINS_FORBIDDEN | You can't change administrator settings in this chat because your session was logged-in recently |
188 | FROM_MESSAGE_BOT_DISABLED | Bots can't use fromMessage min constructors |
189 | FROM_PEER_INVALID | The from peer value is invalid |
190 | GAME_BOT_INVALID | You cannot send that game with the current bot |
191 | GEO_POINT_INVALID | Invalid geo point provided |
192 | GIFT_SLUG_EXPIRED | The gift slug is expired |
193 | GIFT_SLUG_INVALID | The specified slug is invalid. |
194 | GIF_CONTENT_TYPE_INVALID | GIF content-type invalid |
195 | GIF_ID_INVALID | The provided gif/animation id is invalid |
196 | GRAPH_EXPIRED_RELOAD | This graph has expired, please obtain a new graph token |
197 | GRAPH_INVALID_RELOAD | Invalid graph token provided, please reload the stats and provide the updated token |
198 | GRAPH_OUTDATED_RELOAD | The graph data is outdated |
199 | GROUPCALL_ALREADY_DISCARDED | The group call was already discarded |
200 | GROUPCALL_FORBIDDEN | The group call has already ended. |
201 | GROUPCALL_INVALID | The specified group call is invalid |
202 | GROUPCALL_JOIN_MISSING | You haven't joined this group call |
203 | GROUPCALL_NOT_MODIFIED | Group call settings weren't modified |
204 | GROUPCALL_SSRC_DUPLICATE_MUCH | Too many group call synchronization source duplicates |
205 | GROUPED_MEDIA_INVALID | The album contains invalid media |
206 | GROUP_CALL_INVALID | The group call is invalid |
207 | HASH_INVALID | The provided hash is invalid |
208 | HIDE_REQUESTER_MISSING | The join request was missing or was already handled |
209 | IMAGE_PROCESS_FAILED | The server failed to process your image |
210 | IMPORT_FILE_INVALID | The imported file is invalid |
211 | IMPORT_FORMAT_UNRECOGNIZED | The imported format is unrecognized |
212 | IMPORT_ID_INVALID | The import id is invalid |
213 | IMPORT_TOKEN_INVALID | The specified token is invalid. |
214 | INLINE_RESULT_EXPIRED | The inline bot query expired |
215 | INPUT_CHATLIST_INVALID | The specified folder is invalid. |
216 | INPUT_CONSTRUCTOR_INVALID | The provided constructor is invalid |
217 | INPUT_FETCH_ERROR | An error occurred while deserializing TL parameters |
218 | INPUT_FETCH_FAIL | Failed deserializing TL payload |
219 | INPUT_FILTER_INVALID | The filter is invalid for this query |
220 | INPUT_LAYER_INVALID | The provided layer is invalid |
221 | INPUT_METHOD_INVALID | The method invoked is invalid in the current schema |
222 | INPUT_REQUEST_TOO_LONG | The input request is too long |
223 | INPUT_TEXT_EMPTY | The specified text is empty |
224 | INPUT_TEXT_TOO_LONG | The specified text is too long. |
225 | INPUT_USER_DEACTIVATED | The target user has been deleted/deactivated |
226 | INVITES_TOO_MUCH | The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters »](/api/config#chatlist-invites-limit-default) was reached. |
227 | INVITE_FORBIDDEN_WITH_JOINAS | If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID |
228 | INVITE_HASH_EMPTY | The invite hash is empty |
229 | INVITE_HASH_EXPIRED | The chat invite link is no longer valid |
230 | INVITE_HASH_INVALID | The invite link hash is invalid |
231 | INVITE_REQUEST_SENT | The request to join this chat or channel has been successfully sent |
232 | INVITE_REVOKED_MISSING | The action required a chat invite link to be revoked first |
233 | INVITE_SLUG_EMPTY | The invite slug is empty |
234 | INVITE_SLUG_EXPIRED | The invite slug is expired |
235 | INVOICE_PAYLOAD_INVALID | The specified invoice payload is invalid |
236 | JOIN_AS_PEER_INVALID | The specified peer cannot be used to join a group call |
237 | LANG_CODE_INVALID | The specified language code is invalid |
238 | LANG_CODE_NOT_SUPPORTED | The specified language code is not supported |
239 | LANG_PACK_INVALID | The provided language pack is invalid |
240 | LASTNAME_INVALID | The last name is invalid |
241 | LIMIT_INVALID | The limit parameter is invalid |
242 | LINK_NOT_MODIFIED | The chat link was not modified because you tried to link to the same target |
243 | LOCATION_INVALID | The file location is invalid |
244 | MAX_DATE_INVALID | The specified maximum date is invalid |
245 | MAX_ID_INVALID | The max_id parameter is invalid |
246 | MAX_QTS_INVALID | The provided QTS is invalid |
247 | MD5_CHECKSUM_INVALID | The file's checksum did not match the md5_checksum parameter |
248 | MEDIA_CAPTION_TOO_LONG | The media caption is too long |
249 | MEDIA_EMPTY | The media you tried to send is invalid |
250 | MEDIA_FILE_INVALID | The provided media file is invalid |
251 | MEDIA_GROUPED_INVALID | You tried to send media of different types in an album |
252 | MEDIA_INVALID | The media is invalid |
253 | MEDIA_NEW_INVALID | The new media to edit the message with is invalid |
254 | MEDIA_PREV_INVALID | The previous media cannot be edited with anything else |
255 | MEDIA_TTL_INVALID | The media ttl is invalid |
256 | MEDIA_TYPE_INVALID | The specified media type cannot be used in stories. |
257 | MEDIA_VIDEO_STORY_MISSING | The media does not have a photo or a video |
258 | MEGAGROUP_GEO_REQUIRED | This method can only be invoked on a geogroup. |
259 | MEGAGROUP_ID_INVALID | The supergroup is invalid |
260 | MEGAGROUP_PREHISTORY_HIDDEN | The action failed because the supergroup has the pre-history hidden |
261 | MEGAGROUP_REQUIRED | The request can only be used with a supergroup |
262 | MESSAGE_EDIT_TIME_EXPIRED | You can no longer edit this message because too much time has passed |
263 | MESSAGE_EMPTY | The message sent is empty or contains invalid characters |
264 | MESSAGE_IDS_EMPTY | The requested message doesn't exist or you provided no message id |
265 | MESSAGE_ID_INVALID | The message id is invalid |
266 | MESSAGE_NOT_MODIFIED | The message was not modified because you tried to edit it using the same content |
267 | MESSAGE_POLL_CLOSED | You can't interact with a closed poll |
268 | MESSAGE_TOO_LONG | The message text is too long |
269 | METHOD_INVALID | The API method is invalid and cannot be used |
270 | MIN_DATE_INVALID | The specified minimum date is invalid |
271 | MSG_ID_INVALID | The message ID used in the peer was invalid |
272 | MSG_TOO_OLD | chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted |
273 | MSG_VOICE_MISSING | The message does not contain a voice message |
274 | MSG_WAIT_FAILED | A waiting call returned an error |
275 | MULTI_MEDIA_TOO_LONG | The album/media group contains too many items |
276 | NEW_SALT_INVALID | The new salt is invalid |
277 | NEW_SETTINGS_EMPTY | No password is set on the current account, and no new password was specified in `new_settings` |
278 | NEW_SETTINGS_INVALID | The new settings are invalid |
279 | NEXT_OFFSET_INVALID | The next offset value is invalid |
280 | NOGENERAL_HIDE_FORBIDDEN | The hidden parameter is only valid for the General topic message_thread_id=1 |
281 | OFFSET_INVALID | The offset parameter is invalid |
282 | OFFSET_PEER_ID_INVALID | The provided offset peer is invalid |
283 | OPTIONS_TOO_MUCH | The poll options are too many |
284 | OPTION_INVALID | The option specified is invalid and does not exist in the target poll |
285 | ORDER_INVALID | The specified username order is invalid. |
286 | PACK_SHORT_NAME_INVALID | Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'. |
287 | PACK_SHORT_NAME_OCCUPIED | A sticker pack with this name already exists |
288 | PACK_TITLE_INVALID | The sticker pack title is invalid |
289 | PARTICIPANTS_TOO_FEW | The chat doesn't have enough participants |
290 | PARTICIPANT_ID_INVALID | The specified participant ID is invalid |
291 | PARTICIPANT_JOIN_MISSING | Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall |
292 | PARTICIPANT_VERSION_OUTDATED | The other participant is using an outdated Telegram app version |
293 | PASSWORD_EMPTY | The password provided is empty |
294 | PASSWORD_HASH_INVALID | The two-step verification password is invalid |
295 | PASSWORD_MISSING | The account is missing the two-step verification password |
296 | PASSWORD_RECOVERY_EXPIRED | The recovery code has expired. |
297 | PASSWORD_RECOVERY_NA | The password recovery e-mail is not available |
298 | PASSWORD_REQUIRED | The two-step verification password is required for this method |
299 | PASSWORD_TOO_FRESH_X | The two-step verification password was added recently and you are required to wait {value} seconds |
300 | PAYMENT_PROVIDER_INVALID | The payment provider was not recognised or its token was invalid |
301 | PEERS_LIST_EMPTY | The specified list of peers is empty. |
302 | PEER_FLOOD | The method can't be used because your account is currently limited |
303 | PEER_HISTORY_EMPTY | Peer history empty |
304 | PEER_ID_INVALID | The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it |
305 | PEER_ID_NOT_SUPPORTED | The provided peer id is not supported |
306 | PERSISTENT_TIMESTAMP_EMPTY | The pts argument is empty |
307 | PERSISTENT_TIMESTAMP_INVALID | The persistent timestamp is invalid |
308 | PHONE_CODE_EMPTY | The phone code is missing |
309 | PHONE_CODE_EXPIRED | The confirmation code has expired |
310 | PHONE_CODE_HASH_EMPTY | The phone code hash is missing |
311 | PHONE_CODE_INVALID | The confirmation code is invalid |
312 | PHONE_HASH_EXPIRED | An invalid or expired phone_code_hash was provided |
313 | PHONE_NOT_OCCUPIED | No user is associated to the specified phone number |
314 | PHONE_NUMBER_APP_SIGNUP_FORBIDDEN | You can't sign up using this app |
315 | PHONE_NUMBER_BANNED | The phone number is banned from Telegram and cannot be used |
316 | PHONE_NUMBER_FLOOD | This number has tried to login too many times |
317 | PHONE_NUMBER_INVALID | The phone number is invalid |
318 | PHONE_NUMBER_OCCUPIED | The phone number is already in use |
319 | PHONE_NUMBER_UNOCCUPIED | The phone number is not yet being used |
320 | PHONE_PASSWORD_PROTECTED | The phone is password protected |
321 | PHOTO_CONTENT_TYPE_INVALID | The photo content type is invalid |
322 | PHOTO_CONTENT_URL_EMPTY | The photo content URL is empty |
323 | PHOTO_CROP_FILE_MISSING | Photo crop file missing |
324 | PHOTO_CROP_SIZE_SMALL | The photo is too small |
325 | PHOTO_EXT_INVALID | The photo extension is invalid |
326 | PHOTO_FILE_MISSING | Profile photo file missing |
327 | PHOTO_ID_INVALID | The photo id is invalid |
328 | PHOTO_INVALID | The photo is invalid |
329 | PHOTO_INVALID_DIMENSIONS | The photo dimensions are invalid |
330 | PHOTO_SAVE_FILE_INVALID | The photo you tried to send cannot be saved by Telegram |
331 | PHOTO_THUMB_URL_EMPTY | The photo thumb URL is empty |
332 | PHOTO_THUMB_URL_INVALID | The photo thumb URL is invalid |
333 | PINNED_DIALOGS_TOO_MUCH | Too many pinned dialogs |
334 | PIN_RESTRICTED | You can't pin messages in private chats with other people |
335 | POLL_ANSWERS_INVALID | The poll answers are invalid |
336 | POLL_ANSWER_INVALID | One of the poll answers is not acceptable |
337 | POLL_OPTION_DUPLICATE | A duplicate option was sent in the same poll |
338 | POLL_OPTION_INVALID | A poll option used invalid data (the data may be too long) |
339 | POLL_QUESTION_INVALID | The poll question is invalid |
340 | POLL_UNSUPPORTED | This layer does not support polls in the invoked method |
341 | POLL_VOTE_REQUIRED | Cast a vote in the poll before calling this method |
342 | PREMIUM_ACCOUNT_REQUIRED | The method requires a premium user account |
343 | PREMIUM_GIFTCODE_WAS_REFUNDED | This gift code can't be redeemed because the giveaway organizer requested a refund |
344 | PRIVACY_KEY_INVALID | The privacy key is invalid |
345 | PRIVACY_TOO_LONG | Your privacy exception list has exceeded the maximum capacity |
346 | PRIVACY_VALUE_INVALID | The privacy value is invalid |
347 | PUBLIC_BROADCAST_EXPECTED | A public channel was expected, but something else was provided |
348 | PUBLIC_KEY_REQUIRED | A public key is required |
349 | QUERY_ID_EMPTY | The query ID is empty |
350 | QUERY_ID_INVALID | The callback query id is invalid |
351 | QUERY_TOO_SHORT | The query is too short |
352 | QUIZ_ANSWER_MISSING | You can forward a quiz while hiding the original author only after choosing an option in the quiz |
353 | QUIZ_CORRECT_ANSWERS_EMPTY | The correct answers of the quiz are empty |
354 | QUIZ_CORRECT_ANSWERS_TOO_MUCH | The quiz contains too many correct answers |
355 | QUIZ_CORRECT_ANSWER_INVALID | The correct answers of the quiz are invalid |
356 | QUIZ_MULTIPLE_INVALID | A quiz can't have multiple answers |
357 | QUOTE_TEXT_INVALID | The quote text is invalid |
358 | RANDOM_ID_EMPTY | The random ID is empty |
359 | RANDOM_ID_INVALID | The provided random ID is invalid |
360 | RANDOM_LENGTH_INVALID | The random length is invalid |
361 | RANGES_INVALID | Invalid range provided |
362 | REACTIONS_TOO_MANY | Non-premium users, can set up only one reaction per message |
363 | REACTION_EMPTY | The reaction provided is empty |
364 | REACTION_INVALID | Invalid reaction provided (only valid emoji are allowed) |
365 | REFLECTOR_NOT_AVAILABLE | The call reflector is not available |
366 | REPLY_MARKUP_BUY_EMPTY | Reply markup for buy button empty |
367 | REPLY_MARKUP_GAME_EMPTY | The provided reply markup for the game is empty |
368 | REPLY_MARKUP_INVALID | The provided reply markup is invalid |
369 | REPLY_MARKUP_TOO_LONG | The reply markup is too long |
370 | REPLY_MESSAGE_ID_INVALID | The reply message id is invalid |
371 | REPLY_TO_INVALID | The specified `reply_to` field is invalid. |
372 | REPLY_TO_USER_INVALID | The replied-to user is invalid. |
373 | RESET_REQUEST_MISSING | No password reset is in progress |
374 | RESULTS_TOO_MUCH | The result contains too many items |
375 | RESULT_ID_DUPLICATE | The result contains items with duplicated identifiers |
376 | RESULT_ID_EMPTY | Result ID empty |
377 | RESULT_ID_INVALID | The given result cannot be used to send the selection to the bot |
378 | RESULT_TYPE_INVALID | The result type is invalid |
379 | REVOTE_NOT_ALLOWED | You cannot change your vote |
380 | RIGHTS_NOT_MODIFIED | The new admin rights are equal to the old rights, no change was made |
381 | RSA_DECRYPT_FAILED | Internal RSA decryption failed |
382 | SAVED_DIALOGS_UNSUPPORTED | You cannot use this method |
383 | SCHEDULE_BOT_NOT_ALLOWED | Bots are not allowed to schedule messages |
384 | SCHEDULE_DATE_INVALID | Invalid schedule date provided |
385 | SCHEDULE_DATE_TOO_LATE | The date you tried to schedule is too far in the future (more than one year) |
386 | SCHEDULE_STATUS_PRIVATE | You cannot schedule a message until the person comes online if their privacy does not show this information |
387 | SCHEDULE_TOO_MUCH | You tried to schedule too many messages in this chat |
388 | SCORE_INVALID | The specified game score is invalid |
389 | SEARCH_QUERY_EMPTY | The search query is empty |
390 | SEARCH_WITH_LINK_NOT_SUPPORTED | You cannot provide a search query and an invite link at the same time |
391 | SECONDS_INVALID | The seconds interval is invalid |
392 | SEND_AS_PEER_INVALID | You can't send messages as the specified peer |
393 | SEND_MESSAGE_MEDIA_INVALID | The message media is invalid |
394 | SEND_MESSAGE_TYPE_INVALID | The message type is invalid |
395 | SESSION_TOO_FRESH_X | You can't do this action because the current session was logged-in recently |
396 | SETTINGS_INVALID | Invalid settings were provided |
397 | SHA256_HASH_INVALID | The provided SHA256 hash is invalid |
398 | SHORTNAME_OCCUPY_FAILED | An error occurred when trying to register the short-name used for the sticker pack. Try a different name |
399 | SHORT_NAME_INVALID | The specified short name is invalid |
400 | SHORT_NAME_OCCUPIED | The specified short name is already in use |
401 | SLOTS_EMPTY | The specified slot list is empty. |
402 | SLOWMODE_MULTI_MSGS_DISABLED | Slowmode is enabled, you cannot forward multiple messages to this group |
403 | SLUG_INVALID | The specified invoice slug is invalid. |
404 | SMS_CODE_CREATE_FAILED | An error occurred while creating the SMS code |
405 | SRP_ID_INVALID | Invalid SRP ID provided |
406 | SRP_PASSWORD_CHANGED | The password has changed |
407 | START_PARAM_EMPTY | The start parameter is empty |
408 | START_PARAM_INVALID | The start parameter is invalid |
409 | START_PARAM_TOO_LONG | The start parameter is too long |
410 | STICKERPACK_STICKERS_TOO_MUCH | There are too many stickers in this stickerpack, you can't add any more |
411 | STICKERSET_INVALID | The requested sticker set is invalid |
412 | STICKERSET_NOT_MODIFIED | The sticker set is not modified |
413 | STICKERS_EMPTY | The sticker provided is empty |
414 | STICKERS_TOO_MUCH | Too many stickers in the set |
415 | STICKER_DOCUMENT_INVALID | The sticker document is invalid |
416 | STICKER_EMOJI_INVALID | The sticker emoji is invalid |
417 | STICKER_FILE_INVALID | The sticker file is invalid |
418 | STICKER_GIF_DIMENSIONS | The specified video sticker has invalid dimensions |
419 | STICKER_ID_INVALID | The provided sticker id is invalid |
420 | STICKER_INVALID | The provided sticker is invalid |
421 | STICKER_MIME_INVALID | Make sure to pass a valid image file for the right InputFile parameter |
422 | STICKER_PNG_DIMENSIONS | The sticker png dimensions are invalid |
423 | STICKER_PNG_NOPNG | Stickers must be png files but the provided image was not a png |
424 | STICKER_TGS_NODOC | You must send the animated sticker as a document |
425 | STICKER_TGS_NOTGS | A tgs sticker file was expected, but something else was provided |
426 | STICKER_THUMB_PNG_NOPNG | A png sticker thumbnail file was expected, but something else was provided |
427 | STICKER_THUMB_TGS_NOTGS | Incorrect stickerset TGS thumb file provided. |
428 | STICKER_VIDEO_BIG | The specified video sticker is too big |
429 | STICKER_VIDEO_NODOC | You must send the video sticker as a document |
430 | STICKER_VIDEO_NOWEBM | A webm video file was expected, but something else was provided |
431 | STORAGE_KEY_REQUIRED | A cloud storage key is required. |
432 | STORIES_NEVER_CREATED | You have never created any stories |
433 | STORIES_TOO_MUCH | Too many stories in the current account |
434 | STORY_ID_EMPTY | You specified no story IDs. |
435 | STORY_ID_INVALID | The specified story ID is invalid. |
436 | STORY_NOT_MODIFIED | The new story information you passed is equal to the previous story information, thus it wasn't modified. |
437 | STORY_PERIOD_INVALID | The story period is invalid |
438 | STORY_SEND_FLOOD_MONTHLY_X | You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story. |
439 | STORY_SEND_FLOOD_WEEKLY_X | You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story. |
440 | SWITCH_PM_TEXT_EMPTY | The switch_pm.text field was empty |
441 | TAKEOUT_INVALID | The takeout id is invalid |
442 | TAKEOUT_REQUIRED | The method must be invoked inside a takeout session |
443 | TASK_ALREADY_EXISTS | An email reset was already requested. |
444 | TEMP_AUTH_KEY_ALREADY_BOUND | The passed temporary key is already bound to another perm_auth_key_id |
445 | TEMP_AUTH_KEY_EMPTY | The temporary auth key provided is empty |
446 | THEME_FILE_INVALID | Invalid theme file provided |
447 | THEME_FORMAT_INVALID | Invalid theme format provided |
448 | THEME_INVALID | Invalid theme provided |
449 | THEME_MIME_INVALID | You cannot create this theme because the mime-type is invalid |
450 | THEME_TITLE_INVALID | The specified theme title is invalid |
451 | TITLE_INVALID | The specified stickerpack title is invalid |
452 | TMP_PASSWORD_DISABLED | The temporary password is disabled |
453 | TMP_PASSWORD_INVALID | The temporary password is invalid |
454 | TOKEN_EMPTY | The specified token is empty. |
455 | TOKEN_INVALID | The provided token is invalid |
456 | TOKEN_SECRET_INVALID | The specified token secret is invalid |
457 | TOKEN_TYPE_INVALID | The specified token type is invalid. |
458 | TOPICS_EMPTY | You specified no topic IDs. |
459 | TOPIC_CLOSED | The topic was closed |
460 | TOPIC_CLOSE_SEPARATELY | The `close` flag cannot be provided together with any of the other flags. |
461 | TOPIC_DELETED | The topic was deleted |
462 | TOPIC_HIDE_SEPARATELY | The `hide` flag cannot be provided together with any of the other flags. |
463 | TOPIC_ID_INVALID | The provided topic ID is invalid |
464 | TOPIC_NOT_MODIFIED | The topic was not modified |
465 | TOPIC_TITLE_EMPTY | The specified topic title is empty. |
466 | TO_LANG_INVALID | The specified destination language is invalid |
467 | TRANSCRIPTION_FAILED | Telegram is having internal problems. Please try again later to transcribe the audio. |
468 | TTL_DAYS_INVALID | The provided TTL days is invalid |
469 | TTL_MEDIA_INVALID | The media does not support self-destruction |
470 | TTL_PERIOD_INVALID | The provided TTL period is invalid |
471 | TYPES_EMPTY | The types parameter is empty |
472 | TYPE_CONSTRUCTOR_INVALID | The type constructor is invalid |
473 | UNKNOWN_ERROR | Unknown error |
474 | UNTIL_DATE_INVALID | That date parameter is invalid |
475 | URL_INVALID | The URL provided is invalid |
476 | USAGE_LIMIT_INVALID | The usage limit is invalid |
477 | USERNAMES_ACTIVE_TOO_MUCH | The maximum number of active usernames was reached. |
478 | USERNAME_INVALID | The username is invalid |
479 | USERNAME_NOT_MODIFIED | The username was not modified because you tried to edit it using the same one |
480 | USERNAME_NOT_OCCUPIED | The username is not occupied by anyone |
481 | USERNAME_OCCUPIED | The username is already in use by someone else |
482 | USERNAME_PURCHASE_AVAILABLE | The username is available for purchase on fragment.com |
483 | USERPIC_UPLOAD_REQUIRED | You are required to upload a profile picture for this action |
484 | USERS_TOO_FEW | Not enough users (to create a chat, for example) |
485 | USERS_TOO_MUCH | The maximum number of users has been exceeded (to create a chat, for example) |
486 | USER_ADMIN_INVALID | The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to |
487 | USER_ALREADY_INVITED | You have already invited this user |
488 | USER_ALREADY_PARTICIPANT | The user is already a participant of this chat |
489 | USER_BANNED_IN_CHANNEL | You are limited from sending messages in supergroups/channels, check @SpamBot for details |
490 | USER_BLOCKED | The user is blocked |
491 | USER_BOT | Bots in channels can only be administrators, not members. |
492 | USER_BOT_INVALID | This method can only be used by a bot |
493 | USER_BOT_REQUIRED | The method can be used by bots only |
494 | USER_CHANNELS_TOO_MUCH | The user is already in too many channels or supergroups |
495 | USER_CREATOR | You can't leave this channel because you're its creator |
496 | USER_ID_INVALID | The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it |
497 | USER_INVALID | The provided user is invalid |
498 | USER_IS_BLOCKED | The user blocked you |
499 | USER_IS_BOT | A bot cannot send messages to other bots or to itself |
500 | USER_KICKED | This user was kicked from this chat |
501 | USER_NOT_MUTUAL_CONTACT | The user is not a mutual contact |
502 | USER_NOT_PARTICIPANT | The user is not a member of this chat |
503 | USER_PUBLIC_MISSING | The accounts username is missing |
504 | USER_VOLUME_INVALID | The specified user volume is invalid |
505 | VENUE_ID_INVALID | The specified venue ID is invalid. |
506 | VIDEO_CONTENT_TYPE_INVALID | The video content type is invalid (i.e.: not streamable) |
507 | VIDEO_FILE_INVALID | The video file is invalid |
508 | VIDEO_TITLE_EMPTY | The specified video title is empty |
509 | VOICE_MESSAGES_FORBIDDEN | Voice messages are restricted |
510 | VOLUME_LOC_NOT_FOUND | The volume location can't be found |
511 | WALLPAPER_FILE_INVALID | The provided file cannot be used as a wallpaper |
512 | WALLPAPER_INVALID | The input wallpaper was not valid |
513 | WALLPAPER_MIME_INVALID | The wallpaper mime type is invalid |
514 | WALLPAPER_NOT_FOUND | The specified wallpaper could not be found. |
515 | WC_CONVERT_URL_INVALID | WC convert URL invalid |
516 | WEBDOCUMENT_INVALID | The web document is invalid |
517 | WEBDOCUMENT_MIME_INVALID | The web document mime type is invalid |
518 | WEBDOCUMENT_SIZE_TOO_BIG | The web document is too big |
519 | WEBDOCUMENT_URL_EMPTY | The web document URL is empty |
520 | WEBDOCUMENT_URL_INVALID | The web document URL is invalid |
521 | WEBPAGE_CURL_FAILED | Telegram server could not fetch the provided URL |
522 | WEBPAGE_MEDIA_EMPTY | The URL doesn't contain any valid media |
523 | WEBPAGE_NOT_FOUND | Webpage not found |
524 | WEBPAGE_URL_INVALID | Webpage url invalid |
525 | WEBPUSH_AUTH_INVALID | The specified web push authentication secret is invalid |
526 | WEBPUSH_KEY_INVALID | The specified web push elliptic curve Diffie-Hellman public key is invalid |
527 | WEBPUSH_TOKEN_INVALID | The specified web push token is invalid |
528 | YOU_BLOCKED_USER | You blocked this user |