docufix
This commit is contained in:
parent
270463679a
commit
3152a8c466
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -1,3 +1,7 @@
|
||||
---
|
||||
title: MadelineProto documentation
|
||||
description: PHP implementation of telegram's MTProto protocol
|
||||
---
|
||||
# MadelineProto, a PHP MTProto telegram client
|
||||
|
||||
Do join the official channel, [@MadelineProto](https://t.me/MadelineProto)!
|
||||
|
@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -43,7 +44,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -43,7 +44,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -29,6 +29,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -44,7 +45,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -29,6 +29,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -44,7 +45,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -45,7 +46,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -45,7 +46,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -45,7 +46,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -46,7 +47,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -46,7 +47,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -46,7 +47,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -46,7 +47,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -46,7 +47,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
@ -33,6 +33,7 @@ description: messages.sendMedia parameters, return type and example
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|EXTERNAL_URL_INVALID|External URL invalid|
|
||||
|FILE_PART_0_MISSING|File part 0 missing|
|
||||
|FILE_PART_154_MISSING||
|
||||
|FILE_PART_6_MISSING|File part 6 missing|
|
||||
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|
||||
|FILE_PARTS_INVALID|The number of file parts is invalid|
|
||||
@ -48,7 +49,9 @@ description: messages.sendMedia parameters, return type and example
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|
||||
|
||||
### Example:
|
||||
|
@ -24,6 +24,7 @@ description: channels.getParticipant parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USER_ID_INVALID|The provided user ID is invalid|
|
||||
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|
||||
|
@ -26,6 +26,7 @@ description: channels.updatePinnedMessage parameters, return type and example
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|CHAT_NOT_MODIFIED|The pinned message wasn't modified|
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ description: channels.updateUsername parameters, return type and example
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNELS_ADMIN_PUBLIC_TOO_MUCH|You're admin of too many public channels, make some channels private to change the username of this channel|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|USERNAME_INVALID|The provided username is not valid|
|
||||
|USERNAME_OCCUPIED|The provided username is already occupied|
|
||||
|
@ -26,8 +26,11 @@ description: invokeWithLayer parameters, return type and example
|
||||
|AUTH_BYTES_INVALID|The provided authorization is invalid|
|
||||
|CDN_METHOD_INVALID|You can't call this method in a CDN DC|
|
||||
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|
||||
|CONNECTION_DEVICE_MODEL_EMPTY|Device model empty|
|
||||
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|
||||
|CONNECTION_SYSTEM_EMPTY|Connection system empty|
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user