pyrogram/compiler/errors/source/400_BAD_REQUEST.tsv
Mahesh 043734f02b
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)
* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-09 15:02:20 +01:00

22 KiB

1idmessage
2ABOUT_TOO_LONGThe provided about/bio text is too long
3ACCESS_TOKEN_EXPIREDThe bot token has expired
4ACCESS_TOKEN_INVALIDThe bot access token is invalid
5ADMINS_TOO_MUCHThe chat has too many administrators
6ADMIN_RANK_EMOJI_NOT_ALLOWEDEmoji are not allowed in custom administrator titles
7ADMIN_RANK_INVALIDThe custom administrator title is invalid or too long
8ALBUM_PHOTOS_TOO_MANYToo many photos were included in the album
9API_ID_INVALIDThe api_id/api_hash combination is invalid
10API_ID_PUBLISHED_FLOODYou are using an API key that is limited on the server side because it was published somewhere
11ARTICLE_TITLE_EMPTYThe article title is empty
12AUDIO_TITLE_EMPTYThe title attribute of the audio is empty
13AUTH_BYTES_INVALIDThe authorization bytes are invalid
14AUTH_TOKEN_ALREADY_ACCEPTEDThe authorization token was already used
15AUTH_TOKEN_EXPIREDThe provided authorization token has expired and the updated QR-code must be re-scanned
16AUTH_TOKEN_INVALIDAn invalid authorization token was provided
17AUTOARCHIVE_NOT_AVAILABLEThis feature is not yet enabled for your account due to it not receiving too many private messages from strangers
18BANK_CARD_NUMBER_INVALIDThe credit card number is invalid
19BANNED_RIGHTS_INVALIDYou provided a set of restrictions that is invalid
20BASE_PORT_LOC_INVALIDThe base port location is invalid
21BOTS_TOO_MUCHThe chat has too many bots
22BOT_CHANNELS_NABots can't edit admin privileges
23BOT_COMMAND_DESCRIPTION_INVALIDThe command description was empty, too long or had invalid characters
24BOT_DOMAIN_INVALIDThe domain used for the auth button does not match the one configured in @BotFather
25BOT_GAMES_DISABLEDBot games cannot be used in this type of chat
26BOT_GROUPS_BLOCKEDThis bot can't be added to groups
27BOT_INLINE_DISABLEDThe inline feature of the bot is disabled
28BOT_INVALIDThis is not a valid bot
29BOT_METHOD_INVALIDThe method can't be used by bots
30BOT_MISSINGThis method can only be run by a bot
31BOT_PAYMENTS_DISABLEDThis method can only be run by a bot
32BOT_POLLS_DISABLEDSending polls by bots has been disabled
33BOT_RESPONSE_TIMEOUTThe bot did not answer to the callback query in time
34BOT_SCORE_NOT_MODIFIEDThe bot score was not modified
35BROADCAST_ID_INVALIDThe channel is invalid
36BROADCAST_PUBLIC_VOTERS_FORBIDDENPolls with public voters cannot be sent in channels
37BROADCAST_REQUIREDThe request can only be used with a channel
38BUTTON_DATA_INVALIDThe button callback data is invalid or too large
39BUTTON_TYPE_INVALIDThe type of one of the buttons you provided is invalid
40BUTTON_URL_INVALIDThe button url is invalid
41BUTTON_USER_PRIVACY_RESTRICTEDThe privacy settings of the user specified in a keyboard button do not allow creating such button
42CALL_ALREADY_ACCEPTEDThe call is already accepted
43CALL_ALREADY_DECLINEDThe call is already declined
44CALL_PEER_INVALIDThe provided call peer object is invalid
45CALL_PROTOCOL_FLAGS_INVALIDCall protocol flags invalid
46CDN_METHOD_INVALIDThe method can't be used on CDN DCs
47CHANNELS_ADMIN_PUBLIC_TOO_MUCHYou are an administrator of too many public channels
48CHANNELS_TOO_MUCHYou have joined too many channels or supergroups, leave some and try again
49CHANNEL_ADD_INVALIDInternal error.
50CHANNEL_BANNEDThe channel is banned
51CHANNEL_INVALIDThe channel parameter is invalid
52CHANNEL_PRIVATEThe channel/supergroup is not accessible
53CHANNEL_TOO_LARGEThe channel is too large
54CHAT_ABOUT_NOT_MODIFIEDThe chat about text was not modified because you tried to edit it using the same content
55CHAT_ABOUT_TOO_LONGThe chat about text is too long
56CHAT_ADMIN_REQUIREDThe method requires chat admin privileges
57CHAT_FORWARDS_RESTRICTEDThe chat restricts forwarding content
58CHAT_ID_EMPTYThe provided chat id is empty
59CHAT_ID_INVALIDThe chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
60CHAT_INVALIDThe chat is invalid
61CHAT_INVITE_PERMANENTThe chat invite link is primary
62CHAT_LINK_EXISTSThe action failed because the supergroup is linked to a channel
63CHAT_NOT_MODIFIEDThe chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content
64CHAT_RESTRICTEDThe chat is restricted and cannot be used
65CHAT_SEND_INLINE_FORBIDDENYou cannot use inline bots to send messages in this chat
66CHAT_TITLE_EMPTYThe chat title is empty
67CHAT_TOO_BIGThe chat is too big for this action
68CODE_EMPTYThe provided code is empty
69CODE_HASH_INVALIDThe provided code hash invalid
70CODE_INVALIDThe provided code is invalid (i.e. from email)
71CONNECTION_API_ID_INVALIDThe provided API id is invalid
72CONNECTION_APP_VERSION_EMPTYApp version is empty
73CONNECTION_DEVICE_MODEL_EMPTYThe device model is empty
74CONNECTION_LANG_PACK_INVALIDThe specified language pack is not valid
75CONNECTION_LAYER_INVALIDThe connection layer is invalid. Missing InvokeWithLayer-InitConnection call
76CONNECTION_NOT_INITEDThe connection was not initialized
77CONNECTION_SYSTEM_EMPTYThe connection to the system is empty
78CONNECTION_SYSTEM_LANG_CODE_EMPTYThe system language code is empty
79CONTACT_ADD_MISSINGContact to add is missing
80CONTACT_ID_INVALIDThe provided contact id is invalid
81CONTACT_NAME_EMPTYThe provided contact name is empty
82CONTACT_REQ_MISSINGMissing contact request
83DATA_INVALIDThe encrypted data is invalid
84DATA_JSON_INVALIDThe provided JSON data is invalid
85DATA_TOO_LONGData too long
86DATE_EMPTYThe date argument is empty
87DC_ID_INVALIDThe dc_id parameter is invalid
88DH_G_A_INVALIDThe g_a parameter invalid
89DOCUMENT_INVALIDThe document is invalid
90EMAIL_HASH_EXPIREDThe email hash expired and cannot be used to verify it
91EMAIL_INVALIDThe email provided is invalid
92EMAIL_UNCONFIRMEDEmail unconfirmed
93EMAIL_UNCONFIRMED_XThe provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
94EMAIL_VERIFY_EXPIREDThe verification email has expired
95EMOTICON_EMPTYThe emoticon parameter is empty
96EMOTICON_INVALIDThe emoticon parameter is invalid
97EMOTICON_STICKERPACK_MISSINGThe emoticon sticker pack you are trying to obtain is missing
98ENCRYPTED_MESSAGE_INVALIDThe special binding message (bind_auth_key_inner) contains invalid data
99ENCRYPTION_ALREADY_ACCEPTEDThe secret chat is already accepted
100ENCRYPTION_ALREADY_DECLINEDThe secret chat is already declined
101ENCRYPTION_DECLINEDThe secret chat was declined
102ENCRYPTION_ID_INVALIDThe provided secret chat id is invalid
103ENTITIES_TOO_LONGThe entity provided contains data that is too long, or you passed too many entities to this message
104ENTITY_MENTION_USER_INVALIDThe mentioned entity is not an user
105ERROR_TEXT_EMPTYThe provided error message is empty
106EXPIRE_DATE_INVALIDThe expiration date is invalid
107EXPORT_CARD_INVALIDThe provided card is invalid
108EXTERNAL_URL_INVALIDThe external media URL is invalid
109FIELD_NAME_EMPTYThe field with the name FIELD_NAME is missing
110FIELD_NAME_INVALIDThe field with the name FIELD_NAME is invalid
111FILE_ID_INVALIDThe file id is invalid
112FILE_MIGRATE_XThe file is in Data Center No. {value}
113FILE_PARTS_INVALIDInvalid number of parts.
114FILE_PART_EMPTYThe file part sent is empty
115FILE_PART_INVALIDThe file part number is invalid.
116FILE_PART_LENGTH_INVALIDThe length of a file part is invalid
117FILE_PART_SIZE_CHANGEDThe part size is different from the size of one of the previous parts in the same file
118FILE_PART_SIZE_INVALIDThe file part size is invalid
119FILE_PART_TOO_BIGThe size limit for the content of the file part has been exceeded
120FILE_PART_X_MISSINGPart {value} of the file is missing from storage
121FILE_REFERENCE_EMPTYThe file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context
122FILE_REFERENCE_EXPIREDThe file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context
123FILE_REFERENCE_INVALIDThe file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
124FILTER_ID_INVALIDThe specified filter ID is invalid
125FIRSTNAME_INVALIDThe first name is invalid
126FOLDER_ID_EMPTYThe folder you tried to delete was already empty
127FOLDER_ID_INVALIDThe folder id is invalid
128FRESH_CHANGE_ADMINS_FORBIDDENYou can't change administrator settings in this chat because your session was logged-in recently
129FROM_MESSAGE_BOT_DISABLEDBots can't use fromMessage min constructors
130FROM_PEER_INVALIDThe from peer value is invalid
131GAME_BOT_INVALIDYou cannot send that game with the current bot
132GEO_POINT_INVALIDInvalid geo point provided
133GIF_CONTENT_TYPE_INVALIDGIF content-type invalid
134GIF_ID_INVALIDThe provided gif/animation id is invalid
135GRAPH_INVALID_RELOADInvalid graph token provided, please reload the stats and provide the updated token
136GRAPH_OUTDATED_RELOADThe graph data is outdated
137GROUPCALL_SSRC_DUPLICATE_MUCHToo many group call synchronization source duplicates
138GROUPED_MEDIA_INVALIDThe album contains invalid media
139GROUP_CALL_INVALIDThe group call is invalid
140HASH_INVALIDThe provided hash is invalid
141IMAGE_PROCESS_FAILEDThe server failed to process your image
142IMPORT_FILE_INVALIDThe imported file is invalid
143IMPORT_FORMAT_UNRECOGNIZEDThe imported format is unrecognized
144IMPORT_ID_INVALIDThe import id is invalid
145INLINE_RESULT_EXPIREDThe inline bot query expired
146INPUT_CONSTRUCTOR_INVALIDThe provided constructor is invalid
147INPUT_FETCH_ERRORAn error occurred while deserializing TL parameters
148INPUT_FETCH_FAILFailed deserializing TL payload
149INPUT_FILTER_INVALIDThe filter is invalid for this query
150INPUT_LAYER_INVALIDThe provided layer is invalid
151INPUT_METHOD_INVALIDThe method invoked is invalid in the current schema
152INPUT_REQUEST_TOO_LONGThe input request is too long
153INPUT_USER_DEACTIVATEDThe target user has been deleted/deactivated
154INVITE_HASH_EMPTYThe invite hash is empty
155INVITE_HASH_EXPIREDThe chat invite link is no longer valid
156INVITE_HASH_INVALIDThe invite link hash is invalid
157INVITE_REVOKED_MISSINGThe action required a chat invite link to be revoked first
158LANG_PACK_INVALIDThe provided language pack is invalid
159LASTNAME_INVALIDThe last name is invalid
160LIMIT_INVALIDThe limit parameter is invalid
161LINK_NOT_MODIFIEDThe chat link was not modified because you tried to link to the same target
162LOCATION_INVALIDThe file location is invalid
163MAX_ID_INVALIDThe max_id parameter is invalid
164MAX_QTS_INVALIDThe provided QTS is invalid
165MD5_CHECKSUM_INVALIDThe file's checksum did not match the md5_checksum parameter
166MEDIA_CAPTION_TOO_LONGThe media caption is too long
167MEDIA_EMPTYThe media you tried to send is invalid
168MEDIA_INVALIDThe media is invalid
169MEDIA_NEW_INVALIDThe new media to edit the message with is invalid
170MEDIA_PREV_INVALIDThe previous media cannot be edited with anything else
171MEGAGROUP_ID_INVALIDThe supergroup is invalid
172MEGAGROUP_PREHISTORY_HIDDENThe action failed because the supergroup has the pre-history hidden
173MEGAGROUP_REQUIREDThe request can only be used with a supergroup
174MESSAGE_EDIT_TIME_EXPIREDYou can no longer edit this message because too much time has passed
175MESSAGE_EMPTYThe message sent is empty or contains invalid characters
176MESSAGE_IDS_EMPTYThe requested message doesn't exist or you provided no message id
177MESSAGE_ID_INVALIDThe message id is invalid
178MESSAGE_NOT_MODIFIEDThe message was not modified because you tried to edit it using the same content
179MESSAGE_POLL_CLOSEDYou can't interact with a closed poll
180MESSAGE_TOO_LONGThe message text is too long
181METHOD_INVALIDThe API method is invalid and cannot be used
182MSG_ID_INVALIDThe message ID used in the peer was invalid
183MSG_WAIT_FAILEDA waiting call returned an error
184MULTI_MEDIA_TOO_LONGThe album/media group contains too many items
185NEW_SALT_INVALIDThe new salt is invalid
186NEW_SETTINGS_INVALIDThe new settings are invalid
187NEXT_OFFSET_INVALIDThe next offset value is invalid
188OFFSET_INVALIDThe offset parameter is invalid
189OFFSET_PEER_ID_INVALIDThe provided offset peer is invalid
190OPTIONS_TOO_MUCHThe poll options are too many
191OPTION_INVALIDThe option specified is invalid and does not exist in the target poll
192PACK_SHORT_NAME_INVALIDInvalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'.
193PACK_SHORT_NAME_OCCUPIEDA sticker pack with this name already exists
194PACK_TITLE_INVALIDThe sticker pack title is invalid
195PARTICIPANTS_TOO_FEWThe chat doesn't have enough participants
196PARTICIPANT_VERSION_OUTDATEDThe other participant is using an outdated Telegram app version
197PASSWORD_EMPTYThe password provided is empty
198PASSWORD_HASH_INVALIDThe two-step verification password is invalid
199PASSWORD_MISSINGThe account is missing the two-step verification password
200PASSWORD_RECOVERY_NAThe password recovery e-mail is not available
201PASSWORD_REQUIREDThe two-step verification password is required for this method
202PASSWORD_TOO_FRESH_XThe two-step verification password was added recently and you are required to wait {value} seconds
203PAYMENT_PROVIDER_INVALIDThe payment provider was not recognised or its token was invalid
204PEER_FLOODThe method can't be used because your account is currently limited
205PEER_ID_INVALIDThe peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it
206PEER_ID_NOT_SUPPORTEDThe provided peer id is not supported
207PERSISTENT_TIMESTAMP_EMPTYThe pts argument is empty
208PERSISTENT_TIMESTAMP_INVALIDThe persistent timestamp is invalid
209PHONE_CODE_EMPTYThe phone code is missing
210PHONE_CODE_EXPIREDThe confirmation code has expired
211PHONE_CODE_HASH_EMPTYThe phone code hash is missing
212PHONE_CODE_INVALIDThe confirmation code is invalid
213PHONE_NUMBER_APP_SIGNUP_FORBIDDENYou can't sign up using this app
214PHONE_NUMBER_BANNEDThe phone number is banned from Telegram and cannot be used
215PHONE_NUMBER_FLOODThis number has tried to login too many times
216PHONE_NUMBER_INVALIDThe phone number is invalid
217PHONE_NUMBER_OCCUPIEDThe phone number is already in use
218PHONE_NUMBER_UNOCCUPIEDThe phone number is not yet being used
219PHONE_PASSWORD_PROTECTEDThe phone is password protected
220PHOTO_CONTENT_TYPE_INVALIDThe photo content type is invalid
221PHOTO_CONTENT_URL_EMPTYThe photo content URL is empty
222PHOTO_CROP_FILE_MISSINGPhoto crop file missing
223PHOTO_CROP_SIZE_SMALLThe photo is too small
224PHOTO_EXT_INVALIDThe photo extension is invalid
225PHOTO_FILE_MISSINGProfile photo file missing
226PHOTO_ID_INVALIDThe photo id is invalid
227PHOTO_INVALIDThe photo is invalid
228PHOTO_INVALID_DIMENSIONSThe photo dimensions are invalid
229PHOTO_SAVE_FILE_INVALIDThe photo you tried to send cannot be saved by Telegram
230PHOTO_THUMB_URL_EMPTYThe photo thumb URL is empty
231PHOTO_THUMB_URL_INVALIDThe photo thumb URL is invalid
232PINNED_DIALOGS_TOO_MUCHToo many pinned dialogs
233PIN_RESTRICTEDYou can't pin messages in private chats with other people
234POLL_ANSWERS_INVALIDThe poll answers are invalid
235POLL_OPTION_DUPLICATEA duplicate option was sent in the same poll
236POLL_OPTION_INVALIDA poll option used invalid data (the data may be too long)
237POLL_QUESTION_INVALIDThe poll question is invalid
238POLL_UNSUPPORTEDThis layer does not support polls in the invoked method
239POLL_VOTE_REQUIREDCast a vote in the poll before calling this method
240PRIVACY_KEY_INVALIDThe privacy key is invalid
241PRIVACY_TOO_LONGYour privacy exception list has exceeded the maximum capacity
242PRIVACY_VALUE_INVALIDThe privacy value is invalid
243QUERY_ID_EMPTYThe query ID is empty
244QUERY_ID_INVALIDThe callback query id is invalid
245QUERY_TOO_SHORTThe query is too short
246QUIZ_CORRECT_ANSWERS_EMPTYThe correct answers of the quiz are empty
247QUIZ_CORRECT_ANSWERS_TOO_MUCHThe quiz contains too many correct answers
248QUIZ_CORRECT_ANSWER_INVALIDThe correct answers of the quiz are invalid
249QUIZ_MULTIPLE_INVALIDA quiz can't have multiple answers
250RANDOM_ID_EMPTYThe random ID is empty
251RANDOM_ID_INVALIDThe provided random ID is invalid
252RANDOM_LENGTH_INVALIDThe random length is invalid
253RANGES_INVALIDInvalid range provided
254REACTION_EMPTYThe reaction provided is empty
255REACTION_INVALIDInvalid reaction provided (only valid emoji are allowed)
256REFLECTOR_NOT_AVAILABLEThe call reflector is not available
257REPLY_MARKUP_BUY_EMPTYReply markup for buy button empty
258REPLY_MARKUP_GAME_EMPTYThe provided reply markup for the game is empty
259REPLY_MARKUP_INVALIDThe provided reply markup is invalid
260REPLY_MARKUP_TOO_LONGThe reply markup is too long
261RESULTS_TOO_MUCHThe result contains too many items
262RESULT_ID_DUPLICATEThe result contains items with duplicated identifiers
263RESULT_ID_EMPTYResult ID empty
264RESULT_ID_INVALIDThe given result cannot be used to send the selection to the bot
265RESULT_TYPE_INVALIDThe result type is invalid
266REVOTE_NOT_ALLOWEDYou cannot change your vote
267RSA_DECRYPT_FAILEDInternal RSA decryption failed
268SCHEDULE_BOT_NOT_ALLOWEDBots are not allowed to schedule messages
269SCHEDULE_DATE_INVALIDInvalid schedule date provided
270SCHEDULE_DATE_TOO_LATEThe date you tried to schedule is too far in the future (more than one year)
271SCHEDULE_STATUS_PRIVATEYou cannot schedule a message until the person comes online if their privacy does not show this information
272SCHEDULE_TOO_MUCHYou tried to schedule too many messages in this chat
273SEARCH_QUERY_EMPTYThe search query is empty
274SECONDS_INVALIDThe seconds interval is invalid
275SEND_MESSAGE_MEDIA_INVALIDThe message media is invalid
276SEND_MESSAGE_TYPE_INVALIDThe message type is invalid
277SESSION_TOO_FRESH_XYou can't do this action because the current session was logged-in recently
278SETTINGS_INVALIDInvalid settings were provided
279SHA256_HASH_INVALIDThe provided SHA256 hash is invalid
280SHORTNAME_OCCUPY_FAILEDAn error occurred when trying to register the short-name used for the sticker pack. Try a different name
281SLOWMODE_MULTI_MSGS_DISABLEDSlowmode is enabled, you cannot forward multiple messages to this group
282SMS_CODE_CREATE_FAILEDAn error occurred while creating the SMS code
283SRP_ID_INVALIDInvalid SRP ID provided
284SRP_PASSWORD_CHANGEDThe password has changed
285START_PARAM_EMPTYThe start parameter is empty
286START_PARAM_INVALIDThe start parameter is invalid
287START_PARAM_TOO_LONGThe start parameter is too long
288STICKERSET_INVALIDThe requested sticker set is invalid
289STICKERSET_NOT_MODIFIEDThe sticker set is not modified
290STICKERS_EMPTYThe sticker provided is empty
291STICKERS_TOO_MUCHToo many stickers in the set
292STICKER_DOCUMENT_INVALIDThe sticker document is invalid
293STICKER_EMOJI_INVALIDThe sticker emoji is invalid
294STICKER_FILE_INVALIDThe sticker file is invalid
295STICKER_ID_INVALIDThe provided sticker id is invalid
296STICKER_INVALIDThe provided sticker is invalid
297STICKER_PNG_DIMENSIONSThe sticker png dimensions are invalid
298STICKER_PNG_NOPNGStickers must be png files but the provided image was not a png
299STICKER_TGS_NOTGSA tgs sticker file was expected, but something else was provided
300STICKER_VIDEO_NOWEBMA webm video file was expected, but something else was provided
301STICKER_THUMB_PNG_NOPNGA png sticker thumbnail file was expected, but something else was provided
302TAKEOUT_INVALIDThe takeout id is invalid
303TAKEOUT_REQUIREDThe method must be invoked inside a takeout session
304TEMP_AUTH_KEY_EMPTYThe temporary auth key provided is empty
305THEME_FILE_INVALIDInvalid theme file provided
306THEME_FORMAT_INVALIDInvalid theme format provided
307THEME_INVALIDInvalid theme provided
308THEME_MIME_INVALIDYou cannot create this theme because the mime-type is invalid
309TMP_PASSWORD_DISABLEDThe temporary password is disabled
310TMP_PASSWORD_INVALIDThe temporary password is invalid
311TOKEN_INVALIDThe provided token is invalid
312TTL_DAYS_INVALIDThe provided TTL days is invalid
313TTL_MEDIA_INVALIDThe media does not support self-destruction
314TYPES_EMPTYThe types parameter is empty
315TYPE_CONSTRUCTOR_INVALIDThe type constructor is invalid
316UNTIL_DATE_INVALIDThat date parameter is invalid
317URL_INVALIDThe URL provided is invalid
318USAGE_LIMIT_INVALIDThe usage limit is invalid
319USERNAME_INVALIDThe username is invalid
320USERNAME_NOT_MODIFIEDThe username was not modified because you tried to edit it using the same one
321USERNAME_NOT_OCCUPIEDThe username is not occupied by anyone
322USERNAME_OCCUPIEDThe username is already in use by someone else
323USERPIC_UPLOAD_REQUIREDYou are required to upload a profile picture for this action
324USERS_TOO_FEWNot enough users (to create a chat, for example)
325USERS_TOO_MUCHThe maximum number of users has been exceeded (to create a chat, for example)
326USER_ADMIN_INVALIDThe action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
327USER_ALREADY_PARTICIPANTThe user is already a participant of this chat
328USER_BANNED_IN_CHANNELYou are limited from sending messages in supergroups/channels, check @SpamBot for details
329USER_BLOCKEDThe user is blocked
330USER_BOTBots in channels can only be administrators, not members.
331USER_BOT_INVALIDThis method can only be used by a bot
332USER_BOT_REQUIREDThe method can be used by bots only
333USER_CHANNELS_TOO_MUCHThe user is already in too many channels or supergroups
334USER_CREATORYou can't leave this channel because you're its creator
335USER_ID_INVALIDThe user id being used is invalid or not known yet. Make sure you meet the user before interacting with it
336USER_INVALIDThe provided user is invalid
337USER_IS_BLOCKEDThe user blocked you
338USER_IS_BOTA bot cannot send messages to other bots or to itself
339USER_KICKEDThis user was kicked from this chat
340USER_NOT_MUTUAL_CONTACTThe user is not a mutual contact
341USER_NOT_PARTICIPANTThe user is not a member of this chat
342VIDEO_CONTENT_TYPE_INVALIDThe video content type is invalid (i.e.: not streamable)
343VIDEO_FILE_INVALIDThe video file is invalid
344VOICE_MESSAGES_FORBIDDENVoice messages are restricted
345VOLUME_LOC_NOT_FOUNDThe volume location can't be found
346WALLPAPER_FILE_INVALIDThe provided file cannot be used as a wallpaper
347WALLPAPER_INVALIDThe input wallpaper was not valid
348WALLPAPER_MIME_INVALIDThe wallpaper mime type is invalid
349WC_CONVERT_URL_INVALIDWC convert URL invalid
350WEBDOCUMENT_INVALIDThe web document is invalid
351WEBDOCUMENT_MIME_INVALIDThe web document mime type is invalid
352WEBDOCUMENT_SIZE_TOO_BIGThe web document is too big
353WEBDOCUMENT_URL_EMPTYThe web document URL is empty
354WEBDOCUMENT_URL_INVALIDThe web document URL is invalid
355WEBPAGE_CURL_FAILEDTelegram server could not fetch the provided URL
356WEBPAGE_MEDIA_EMPTYThe URL doesn't contain any valid media
357YOU_BLOCKED_USERYou blocked this user
358ENTITY_BOUNDS_INVALIDThe message entity bounds are invalid
359BOT_ONESIDE_NOT_AVAILBots can't pin messages for one side only in private chats
360INVITE_REQUEST_SENTThe request to join this chat or channel has been successfully sent