mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 15:59:18 +00:00
21 KiB
21 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 | ADMINS_TOO_MUCH | The chat has too many administrators |
6 | ADMIN_RANK_EMOJI_NOT_ALLOWED | Emoji are not allowed in custom administrator titles |
7 | ADMIN_RANK_INVALID | The custom administrator title is invalid or is longer than 16 characters |
8 | ALBUM_PHOTOS_TOO_MANY | Too many photos were included in the album |
9 | API_ID_INVALID | The api_id/api_hash combination is invalid |
10 | API_ID_PUBLISHED_FLOOD | You are using an API key that is limited on the server side because it was published somewhere |
11 | ARTICLE_TITLE_EMPTY | The article title is empty |
12 | AUDIO_TITLE_EMPTY | The title attribute of the audio is empty |
13 | AUTH_BYTES_INVALID | The authorization bytes are invalid |
14 | AUTH_TOKEN_ALREADY_ACCEPTED | The authorization token was already used |
15 | AUTH_TOKEN_EXPIRED | The provided authorization token has expired and the updated QR-code must be re-scanned |
16 | AUTH_TOKEN_INVALID | An invalid authorization token was provided |
17 | AUTOARCHIVE_NOT_AVAILABLE | This feature is not yet enabled for your account due to it not receiving too many private messages from strangers |
18 | BANK_CARD_NUMBER_INVALID | The credit card number is invalid |
19 | BANNED_RIGHTS_INVALID | You provided a set of restrictions that is invalid |
20 | BOTS_TOO_MUCH | The chat has too many bots |
21 | BOT_CHANNELS_NA | Bots can't edit admin privileges |
22 | BOT_COMMAND_DESCRIPTION_INVALID | The command description was empty, too long or had invalid characters |
23 | BOT_DOMAIN_INVALID | The domain used for the auth button does not match the one configured in @BotFather |
24 | BOT_GAMES_DISABLED | Bot games cannot be used in this type of chat |
25 | BOT_GROUPS_BLOCKED | This bot can't be added to groups |
26 | BOT_INLINE_DISABLED | The inline feature of the bot is disabled |
27 | BOT_INVALID | This is not a valid bot |
28 | BOT_METHOD_INVALID | The method can't be used by bots |
29 | BOT_MISSING | This method can only be run by a bot |
30 | BOT_PAYMENTS_DISABLED | This method can only be run by a bot |
31 | BOT_POLLS_DISABLED | Sending polls by bots has been disabled |
32 | BOT_RESPONSE_TIMEOUT | The bot did not answer to the callback query in time |
33 | BOT_SCORE_NOT_MODIFIED | The bot score was not modified |
34 | BROADCAST_ID_INVALID | The channel is invalid |
35 | BROADCAST_PUBLIC_VOTERS_FORBIDDEN | Polls with public voters cannot be sent in channels |
36 | BROADCAST_REQUIRED | The request can only be used with a channel |
37 | BUTTON_DATA_INVALID | The button callback data contains invalid data or exceeds 64 bytes |
38 | BUTTON_TYPE_INVALID | The type of one of the buttons you provided is invalid |
39 | BUTTON_URL_INVALID | The button url is invalid |
40 | CALL_ALREADY_ACCEPTED | The call is already accepted |
41 | CALL_ALREADY_DECLINED | The call is already declined |
42 | CALL_PEER_INVALID | The provided call peer object is invalid |
43 | CALL_PROTOCOL_FLAGS_INVALID | Call protocol flags invalid |
44 | CDN_METHOD_INVALID | The method can't be used on CDN DCs |
45 | CHANNELS_ADMIN_PUBLIC_TOO_MUCH | You are an administrator of too many public channels |
46 | CHANNELS_TOO_MUCH | You have joined too many channels or supergroups, leave some and try again |
47 | CHANNEL_BANNED | The channel is banned |
48 | CHANNEL_INVALID | The channel parameter is invalid |
49 | CHANNEL_PRIVATE | The channel/supergroup is not accessible |
50 | CHANNEL_TOO_LARGE | The channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change) |
51 | CHAT_ABOUT_NOT_MODIFIED | The chat about text was not modified because you tried to edit it using the same content |
52 | CHAT_ABOUT_TOO_LONG | The chat about text is too long |
53 | CHAT_ADMIN_REQUIRED | The method requires chat admin privileges |
54 | CHAT_ID_EMPTY | The provided chat id is empty |
55 | CHAT_ID_INVALID | The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it |
56 | CHAT_INVALID | The chat is invalid |
57 | CHAT_LINK_EXISTS | The action failed because the supergroup is linked to a channel |
58 | CHAT_NOT_MODIFIED | The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content |
59 | CHAT_RESTRICTED | The chat is restricted and cannot be used |
60 | CHAT_SEND_INLINE_FORBIDDEN | You cannot use inline bots to send messages in this chat |
61 | CHAT_TITLE_EMPTY | The chat title is empty |
62 | CODE_EMPTY | The provided code is empty |
63 | CODE_HASH_INVALID | The provided code hash invalid |
64 | CODE_INVALID | The provided code is invalid (i.e. from email) |
65 | CONNECTION_API_ID_INVALID | The provided API id is invalid |
66 | CONNECTION_APP_VERSION_EMPTY | App version is empty |
67 | CONNECTION_DEVICE_MODEL_EMPTY | The device model is empty |
68 | CONNECTION_LANG_PACK_INVALID | The specified language pack is not valid |
69 | CONNECTION_LAYER_INVALID | The connection layer is invalid. Missing InvokeWithLayer-InitConnection call |
70 | CONNECTION_NOT_INITED | The connection was not initialized |
71 | CONNECTION_SYSTEM_EMPTY | The connection to the system is empty |
72 | CONNECTION_SYSTEM_LANG_CODE_EMPTY | The system language code is empty |
73 | CONTACT_ADD_MISSING | Contact to add is missing |
74 | CONTACT_ID_INVALID | The provided contact id is invalid |
75 | CONTACT_NAME_EMPTY | The provided contact name is empty |
76 | CONTACT_REQ_MISSING | Missing contact request |
77 | DATA_INVALID | The encrypted data is invalid |
78 | DATA_JSON_INVALID | The provided JSON data is invalid |
79 | DATA_TOO_LONG | Data too long |
80 | DATE_EMPTY | The date argument is empty |
81 | DC_ID_INVALID | The dc_id parameter is invalid |
82 | DH_G_A_INVALID | The g_a parameter invalid |
83 | DOCUMENT_INVALID | The document is invalid |
84 | EMAIL_HASH_EXPIRED | The email hash expired and cannot be used to verify it |
85 | EMAIL_INVALID | The email provided is invalid |
86 | EMAIL_UNCONFIRMED | Email unconfirmed |
87 | EMAIL_UNCONFIRMED_X | The provided email isn't confirmed, {x} is the length of the verification code that was just sent to the email |
88 | EMAIL_VERIFY_EXPIRED | The verification email has expired |
89 | EMOTICON_EMPTY | The emoticon parameter is empty |
90 | EMOTICON_INVALID | The emoticon parameter is invalid |
91 | EMOTICON_STICKERPACK_MISSING | The emoticon sticker pack you are trying to obtain is missing |
92 | ENCRYPTED_MESSAGE_INVALID | The special binding message (bind_auth_key_inner) contains invalid data |
93 | ENCRYPTION_ALREADY_ACCEPTED | The secret chat is already accepted |
94 | ENCRYPTION_ALREADY_DECLINED | The secret chat is already declined |
95 | ENCRYPTION_DECLINED | The secret chat was declined |
96 | ENCRYPTION_ID_INVALID | The provided secret chat id is invalid |
97 | ENTITIES_TOO_LONG | The entity provided contains data that is too long, or you passed too many entities to this message |
98 | ENTITY_MENTION_USER_INVALID | The mentioned entity is not an user |
99 | ERROR_TEXT_EMPTY | The provided error message is empty |
100 | EXPORT_CARD_INVALID | The provided card is invalid |
101 | EXTERNAL_URL_INVALID | The external media URL is invalid |
102 | FIELD_NAME_EMPTY | The field with the name FIELD_NAME is missing |
103 | FIELD_NAME_INVALID | The field with the name FIELD_NAME is invalid |
104 | FILE_ID_INVALID | The file id is invalid |
105 | FILE_MIGRATE_X | The file is in Data Center No. {x} |
106 | FILE_PARTS_INVALID | Invalid number of parts. The value is not between 1 and 4000 |
107 | FILE_PART_EMPTY | The file part sent is empty |
108 | FILE_PART_INVALID | The file part number is invalid. The value is not between 0 and 3999 |
109 | FILE_PART_LENGTH_INVALID | The length of a file part is invalid |
110 | FILE_PART_SIZE_CHANGED | The part size is different from the size of one of the previous parts in the same file |
111 | FILE_PART_SIZE_INVALID | 512 KB cannot be evenly divided by part_size |
112 | FILE_PART_TOO_BIG | The size limit (512 KB) for the content of the file part has been exceeded |
113 | FILE_PART_X_MISSING | Part {x} of the file is missing from storage |
114 | 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 |
115 | 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 |
116 | 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 |
117 | FILTER_ID_INVALID | The specified filter ID is invalid |
118 | FIRSTNAME_INVALID | The first name is invalid |
119 | FOLDER_ID_EMPTY | The folder you tried to delete was already empty |
120 | FOLDER_ID_INVALID | The folder id is invalid |
121 | FRESH_CHANGE_ADMINS_FORBIDDEN | You can't change administrator settings in this chat because your session was logged-in recently |
122 | FROM_MESSAGE_BOT_DISABLED | Bots can't use fromMessage min constructors |
123 | GAME_BOT_INVALID | You cannot send that game with the current bot |
124 | GEO_POINT_INVALID | Invalid geo point provided |
125 | GIF_CONTENT_TYPE_INVALID | GIF content-type invalid |
126 | GIF_ID_INVALID | The provided gif/animation id is invalid |
127 | GRAPH_INVALID_RELOAD | Invalid graph token provided, please reload the stats and provide the updated token |
128 | GRAPH_OUTDATED_RELOAD | The graph data is outdated |
129 | GROUPED_MEDIA_INVALID | The album contains invalid media |
130 | HASH_INVALID | The provided hash is invalid |
131 | IMAGE_PROCESS_FAILED | The server failed to process your image |
132 | INLINE_RESULT_EXPIRED | The inline bot query expired |
133 | INPUT_CONSTRUCTOR_INVALID | The provided constructor is invalid |
134 | INPUT_FETCH_ERROR | An error occurred while deserializing TL parameters |
135 | INPUT_FETCH_FAIL | Failed deserializing TL payload |
136 | INPUT_FILTER_INVALID | The filter is invalid for this query |
137 | INPUT_LAYER_INVALID | The provided layer is invalid |
138 | INPUT_METHOD_INVALID | The method invoked is invalid in the current schema |
139 | INPUT_REQUEST_TOO_LONG | The input request is too long |
140 | INPUT_USER_DEACTIVATED | The target user has been deleted/deactivated |
141 | INVITE_HASH_EMPTY | The invite hash is empty |
142 | INVITE_HASH_EXPIRED | The chat invite link is no longer valid |
143 | INVITE_HASH_INVALID | The invite link hash is invalid |
144 | LANG_PACK_INVALID | The provided language pack is invalid |
145 | LASTNAME_INVALID | The last name is invalid |
146 | LIMIT_INVALID | The limit parameter is invalid |
147 | LINK_NOT_MODIFIED | The chat link was not modified because you tried to link to the same target |
148 | LOCATION_INVALID | The file location is invalid |
149 | MAX_ID_INVALID | The max_id parameter is invalid |
150 | MAX_QTS_INVALID | The provided QTS is invalid |
151 | MD5_CHECKSUM_INVALID | The file's checksum did not match the md5_checksum parameter |
152 | MEDIA_CAPTION_TOO_LONG | The media caption is longer than 1024 characters |
153 | MEDIA_EMPTY | The media you tried to send is invalid |
154 | MEDIA_INVALID | The media is invalid |
155 | MEDIA_NEW_INVALID | The new media to edit the message with is invalid |
156 | MEDIA_PREV_INVALID | The previous media cannot be edited with anything else |
157 | MEGAGROUP_ID_INVALID | The supergroup is invalid |
158 | MEGAGROUP_PREHISTORY_HIDDEN | The action failed because the supergroup has the pre-history hidden |
159 | MEGAGROUP_REQUIRED | The request can only be used with a supergroup |
160 | MESSAGE_EDIT_TIME_EXPIRED | You can no longer edit this message because too much time has passed |
161 | MESSAGE_EMPTY | The message sent is empty or contains invalid characters |
162 | MESSAGE_IDS_EMPTY | The requested message doesn't exist or you provided no message id |
163 | MESSAGE_ID_INVALID | The message id is invalid |
164 | MESSAGE_NOT_MODIFIED | The message was not modified because you tried to edit it using the same content |
165 | MESSAGE_POLL_CLOSED | You can't interact with a closed poll |
166 | MESSAGE_TOO_LONG | The message text is over 4096 characters |
167 | METHOD_INVALID | The API method is invalid and cannot be used |
168 | MSG_ID_INVALID | The message ID used in the peer was invalid |
169 | MSG_WAIT_FAILED | A waiting call returned an error |
170 | MULTI_MEDIA_TOO_LONG | The album/media group contains too many items |
171 | NEW_SALT_INVALID | The new salt is invalid |
172 | NEW_SETTINGS_INVALID | The new settings are invalid |
173 | OFFSET_INVALID | The offset parameter is invalid |
174 | OFFSET_PEER_ID_INVALID | The provided offset peer is invalid |
175 | OPTIONS_TOO_MUCH | The poll options are too many |
176 | OPTION_INVALID | The option specified is invalid and does not exist in the target poll |
177 | 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>'. |
178 | PACK_SHORT_NAME_OCCUPIED | A sticker pack with this name already exists |
179 | PACK_TITLE_INVALID | The sticker pack title is invalid |
180 | PARTICIPANTS_TOO_FEW | The chat doesn't have enough participants |
181 | PARTICIPANT_VERSION_OUTDATED | The other participant is using an outdated Telegram app version |
182 | PASSWORD_EMPTY | The password provided is empty |
183 | PASSWORD_HASH_INVALID | The two-step verification password is invalid |
184 | PASSWORD_MISSING | The account is missing the two-step verification password |
185 | PASSWORD_RECOVERY_NA | The password recovery e-mail is not available |
186 | PASSWORD_REQUIRED | The two-step verification password is required for this method |
187 | PASSWORD_TOO_FRESH_X | The two-step verification password was added recently and you are required to wait {x} seconds |
188 | PAYMENT_PROVIDER_INVALID | The payment provider was not recognised or its token was invalid |
189 | PEER_FLOOD | The method can't be used because your account is currently limited |
190 | PEER_ID_INVALID | The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it |
191 | PEER_ID_NOT_SUPPORTED | The provided peer id is not supported |
192 | PERSISTENT_TIMESTAMP_EMPTY | The pts argument is empty |
193 | PERSISTENT_TIMESTAMP_INVALID | The persistent timestamp is invalid |
194 | PHONE_CODE_EMPTY | The phone code is missing |
195 | PHONE_CODE_EXPIRED | The confirmation code has expired |
196 | PHONE_CODE_HASH_EMPTY | The phone code hash is missing |
197 | PHONE_CODE_INVALID | The confirmation code is invalid |
198 | PHONE_NUMBER_APP_SIGNUP_FORBIDDEN | You can't sign up using this app |
199 | PHONE_NUMBER_BANNED | The phone number is banned from Telegram and cannot be used |
200 | PHONE_NUMBER_FLOOD | This number has tried to login too many times |
201 | PHONE_NUMBER_INVALID | The phone number is invalid |
202 | PHONE_NUMBER_OCCUPIED | The phone number is already in use |
203 | PHONE_NUMBER_UNOCCUPIED | The phone number is not yet being used |
204 | PHONE_PASSWORD_PROTECTED | The phone is password protected |
205 | PHOTO_CONTENT_TYPE_INVALID | The photo content type is invalid |
206 | PHOTO_CONTENT_URL_EMPTY | The photo content URL is empty |
207 | PHOTO_CROP_FILE_MISSING | Photo crop file missing |
208 | PHOTO_CROP_SIZE_SMALL | The photo is too small |
209 | PHOTO_EXT_INVALID | The photo extension is invalid |
210 | PHOTO_FILE_MISSING | Profile photo file missing |
211 | PHOTO_ID_INVALID | The photo id is invalid |
212 | PHOTO_INVALID | The photo is invalid |
213 | PHOTO_INVALID_DIMENSIONS | The photo dimensions are invalid |
214 | PHOTO_SAVE_FILE_INVALID | The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10 MB. Try resizing it locally |
215 | PHOTO_THUMB_URL_EMPTY | The photo thumb URL is empty |
216 | PHOTO_THUMB_URL_INVALID | The photo thumb URL is invalid |
217 | PINNED_DIALOGS_TOO_MUCH | Too many pinned dialogs |
218 | PIN_RESTRICTED | You can't pin messages in private chats with other people |
219 | POLL_ANSWERS_INVALID | The poll answers are invalid |
220 | POLL_OPTION_DUPLICATE | A duplicate option was sent in the same poll |
221 | POLL_OPTION_INVALID | A poll option used invalid data (the data may be too long) |
222 | POLL_QUESTION_INVALID | The poll question is invalid |
223 | POLL_UNSUPPORTED | This layer does not support polls in the invoked method |
224 | POLL_VOTE_REQUIRED | Cast a vote in the poll before calling this method |
225 | PRIVACY_KEY_INVALID | The privacy key is invalid |
226 | PRIVACY_TOO_LONG | Your privacy exception list has exceeded the maximum capacity |
227 | PRIVACY_VALUE_INVALID | The privacy value is invalid |
228 | QUERY_ID_EMPTY | The query ID is empty |
229 | QUERY_ID_INVALID | The callback query id is invalid |
230 | QUERY_TOO_SHORT | The query is too short |
231 | QUIZ_CORRECT_ANSWERS_EMPTY | The correct answers of the quiz are empty |
232 | QUIZ_CORRECT_ANSWERS_TOO_MUCH | The quiz contains too many correct answers |
233 | QUIZ_CORRECT_ANSWER_INVALID | The correct answers of the quiz are invalid |
234 | QUIZ_MULTIPLE_INVALID | A quiz can't have multiple answers |
235 | RANDOM_ID_EMPTY | The random ID is empty |
236 | RANDOM_ID_INVALID | The provided random ID is invalid |
237 | RANDOM_LENGTH_INVALID | The random length is invalid |
238 | RANGES_INVALID | Invalid range provided |
239 | REACTION_EMPTY | The reaction provided is empty |
240 | REACTION_INVALID | Invalid reaction provided (only emoji are allowed) |
241 | REPLY_MARKUP_BUY_EMPTY | Reply markup for buy button empty |
242 | REPLY_MARKUP_GAME_EMPTY | The provided reply markup for the game is empty |
243 | REPLY_MARKUP_INVALID | The provided reply markup is invalid |
244 | REPLY_MARKUP_TOO_LONG | The reply markup is too long |
245 | RESULTS_TOO_MUCH | The result contains too many items |
246 | RESULT_ID_DUPLICATE | The result contains items with duplicated identifiers |
247 | RESULT_ID_EMPTY | Result ID empty |
248 | RESULT_ID_INVALID | The given result cannot be used to send the selection to the bot |
249 | RESULT_TYPE_INVALID | The result type is invalid |
250 | REVOTE_NOT_ALLOWED | You cannot change your vote |
251 | RSA_DECRYPT_FAILED | Internal RSA decryption failed |
252 | SCHEDULE_BOT_NOT_ALLOWED | Bots are not allowed to schedule messages |
253 | SCHEDULE_DATE_INVALID | Invalid schedule date provided |
254 | SCHEDULE_DATE_TOO_LATE | The date you tried to schedule is too far in the future (more than one year) |
255 | SCHEDULE_STATUS_PRIVATE | You cannot schedule a message until the person comes online if their privacy does not show this information |
256 | SCHEDULE_TOO_MUCH | You cannot schedule more than 100 messages in this chat |
257 | SEARCH_QUERY_EMPTY | The search query is empty |
258 | SECONDS_INVALID | The seconds interval is invalid, for slow mode try with 0 (off), 10, 30, 60 (1m), 300 (5m), 900 (15m) or 3600 (1h) |
259 | SEND_MESSAGE_MEDIA_INVALID | The message media is invalid |
260 | SEND_MESSAGE_TYPE_INVALID | The message type is invalid |
261 | SESSION_TOO_FRESH_X | You can't do this action because the current session was logged-in recently |
262 | SETTINGS_INVALID | Invalid settings were provided |
263 | SHA256_HASH_INVALID | The provided SHA256 hash is invalid |
264 | SHORTNAME_OCCUPY_FAILED | An error occurred when trying to register the short-name used for the sticker pack. Try a different name |
265 | SLOWMODE_MULTI_MSGS_DISABLED | Slowmode is enabled, you cannot forward multiple messages to this group |
266 | SMS_CODE_CREATE_FAILED | An error occurred while creating the SMS code |
267 | SRP_ID_INVALID | Invalid SRP ID provided |
268 | SRP_PASSWORD_CHANGED | The password has changed |
269 | START_PARAM_EMPTY | The start parameter is empty |
270 | START_PARAM_INVALID | The start parameter is invalid |
271 | START_PARAM_TOO_LONG | The start parameter is too long |
272 | STICKERSET_INVALID | The requested sticker set is invalid |
273 | STICKERS_EMPTY | The sticker provided is empty |
274 | STICKER_DOCUMENT_INVALID | The sticker document is invalid |
275 | STICKER_EMOJI_INVALID | The sticker emoji is invalid |
276 | STICKER_FILE_INVALID | The sticker file is invalid |
277 | STICKER_ID_INVALID | The provided sticker id is invalid |
278 | STICKER_INVALID | The provided sticker is invalid |
279 | STICKER_PNG_DIMENSIONS | The sticker png dimensions are invalid |
280 | STICKER_PNG_NOPNG | Stickers must be png files but the provided image was not a png |
281 | TAKEOUT_INVALID | The takeout id is invalid |
282 | TAKEOUT_REQUIRED | The method must be invoked inside a takeout session |
283 | TEMP_AUTH_KEY_EMPTY | The temporary auth key provided is empty |
284 | THEME_FILE_INVALID | Invalid theme file provided |
285 | THEME_FORMAT_INVALID | Invalid theme format provided |
286 | THEME_INVALID | Invalid theme provided |
287 | THEME_MIME_INVALID | You cannot create this theme because the mime-type is invalid |
288 | TMP_PASSWORD_DISABLED | The temporary password is disabled |
289 | TOKEN_INVALID | The provided token is invalid |
290 | TTL_DAYS_INVALID | The provided TTL days is invalid |
291 | TTL_MEDIA_INVALID | The media does not support self-destruction |
292 | TYPES_EMPTY | The types parameter is empty |
293 | TYPE_CONSTRUCTOR_INVALID | The type constructor is invalid |
294 | UNTIL_DATE_INVALID | That date parameter is invalid |
295 | URL_INVALID | The URL provided is invalid |
296 | USERNAME_INVALID | The username is invalid |
297 | USERNAME_NOT_MODIFIED | The username was not modified because you tried to edit it using the same one |
298 | USERNAME_NOT_OCCUPIED | The username is not occupied by anyone |
299 | USERNAME_OCCUPIED | The username is already in use by someone else |
300 | USERS_TOO_FEW | Not enough users (to create a chat, for example) |
301 | USERS_TOO_MUCH | The maximum number of users has been exceeded (to create a chat, for example) |
302 | USER_ADMIN_INVALID | The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to |
303 | USER_ALREADY_PARTICIPANT | The user is already a participant of this chat |
304 | USER_BANNED_IN_CHANNEL | You are limited from sending messages in supergroups/channels, check @SpamBot for details |
305 | USER_BLOCKED | The user is blocked |
306 | USER_BOT | Bots in channels can only be administrators, not members. |
307 | USER_BOT_INVALID | This method can only be used by a bot |
308 | USER_BOT_REQUIRED | The method can be used by bots only |
309 | USER_CHANNELS_TOO_MUCH | The user is already in too many channels or supergroups |
310 | USER_CREATOR | You can't leave this channel because you're its creator |
311 | USER_ID_INVALID | The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it |
312 | USER_INVALID | The provided user is invalid |
313 | USER_IS_BLOCKED | The user blocked you |
314 | USER_IS_BOT | A bot cannot send messages to other bots or to itself |
315 | USER_KICKED | This user was kicked from this chat |
316 | USER_NOT_MUTUAL_CONTACT | The user is not a mutual contact |
317 | USER_NOT_PARTICIPANT | The user is not a member of this chat |
318 | VIDEO_CONTENT_TYPE_INVALID | The video content type is invalid (i.e.: not streamable) |
319 | VIDEO_FILE_INVALID | The video file is invalid |
320 | VOLUME_LOC_NOT_FOUND | The volume location can't be found |
321 | WALLPAPER_FILE_INVALID | The provided file cannot be used as a wallpaper |
322 | WALLPAPER_INVALID | The input wallpaper was not valid |
323 | WC_CONVERT_URL_INVALID | WC convert URL invalid |
324 | WEBDOCUMENT_INVALID | The web document is invalid |
325 | WEBDOCUMENT_MIME_INVALID | The web document mime type is invalid |
326 | WEBDOCUMENT_SIZE_TOO_BIG | The web document is too big |
327 | WEBDOCUMENT_URL_EMPTY | The web document URL is empty |
328 | WEBDOCUMENT_URL_INVALID | The web document URL is invalid |
329 | WEBPAGE_CURL_FAILED | Telegram server could not fetch the provided URL |
330 | WEBPAGE_MEDIA_EMPTY | The URL doesn't contain any valid media |
331 | YOU_BLOCKED_USER | You blocked this user |