This commit is contained in:
Daniil Gentili 2017-11-08 15:04:40 +03:00
parent ca4eca2049
commit 6899f7bfbf
No known key found for this signature in database
GPG Key ID: 259900308520B573
163 changed files with 266 additions and 8 deletions

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -31,6 +31,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -32,6 +32,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -40,6 +41,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,7 +28,11 @@ description: stickers.createStickerSet parameters, return type and example
|----------|---------------|
|BOT_MISSING|This method can only be run by a bot|
|PACK_SHORT_NAME_INVALID|Short pack name invalid|
|PACK_SHORT_NAME_OCCUPIED|A stickerpack with this name already exists|
|PEER_ID_INVALID|The provided peer id is invalid|
|STICKER_EMOJI_INVALID|Sticker emoji invalid|
|STICKER_FILE_INVALID|Sticker file invalid|
|STICKER_PNG_DIMENSIONS|Sticker png dimensions invalid|
|STICKERS_EMPTY|No sticker provided|
|USER_ID_INVALID|The provided user ID is invalid|

View File

@ -16,7 +16,7 @@ $settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb
$Lua = false;
try {
$Lua = new \danog\MadelineProto\API('bot.madeline');
$Lua = \danog\MadelineProto\Serialization::deserialize('bot.madeline');
} catch (\danog\MadelineProto\Exception $e) {
}
if (!is_object($Lua)) {
@ -53,7 +53,6 @@ if (!is_object($Lua)) {
break;
}
}
$offset = 0;
while (true) {
$updates = $Lua->MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout

View File

@ -16,7 +16,7 @@ $settings = [];
$Lua = false;
try {
$Lua = new \danog\MadelineProto\API('td.madeline');
$Lua = \danog\MadelineProto\Serialization::deserialize('td.madeline');
} catch (\danog\MadelineProto\Exception $e) {
}
if (!is_object($Lua)) {

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -26,6 +26,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -25,6 +25,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -35,6 +36,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -26,6 +26,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -25,6 +25,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -35,6 +36,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -26,6 +26,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -36,6 +37,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -26,6 +26,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -36,6 +37,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -37,6 +38,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -37,6 +38,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -27,6 +27,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -37,6 +38,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -38,6 +39,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -38,6 +39,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -38,6 +39,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -38,6 +39,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -28,6 +28,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -38,6 +39,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -31,6 +31,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.sendMedia parameters, return type and example
|----------|---------------|
|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|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_6_MISSING|File part 6 missing|
@ -40,6 +41,8 @@ description: messages.sendMedia parameters, return type and example
|MEDIA_EMPTY|The provided media object is invalid|
|PEER_ID_INVALID|The provided peer id is invalid|
|PHOTO_EXT_INVALID|The extension of the photo is invalid|
|PHOTO_INVALID_DIMENSIONS|The photo dimensions are invalid|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|USER_IS_BLOCKED|User is blocked|
|USER_IS_BOT|Bots can't send messages to other bots|
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|

View File

@ -26,6 +26,7 @@ description: channels.leaveChannel parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel|
|CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available|
### Example:

View File

@ -28,6 +28,7 @@ description: invokeWithLayer parameters, return type and example
|CONNECTION_API_ID_INVALID|The provided API id is invalid|
|CONNECTION_LANG_PACK_INVALID|Language pack invalid|
|INPUT_LAYER_INVALID|The provided layer is invalid|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
### Example:

View File

@ -30,6 +30,7 @@ description: messages.forwardMessages parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|CHAT_ID_INVALID|The provided chat id is invalid|
|GROUPED_MEDIA_INVALID|Invalid grouped media|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|MEDIA_EMPTY|The provided media object is invalid|
|MESSAGE_ID_INVALID|The provided message id is invalid|

View File

@ -24,6 +24,7 @@ description: messages.readHistory parameters, return type and example
| Error | Description |
|----------|---------------|
|PEER_ID_INVALID|The provided peer id is invalid|
|Timeout|A timeout occurred while fetching data from the bot|
### Example:

View File

@ -29,6 +29,7 @@ description: messages.search parameters, return type and example
| Error | Description |
|----------|---------------|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|PEER_ID_INVALID|The provided peer id is invalid|

View File

@ -25,6 +25,7 @@ description: messages.sendEncryptedService parameters, return type and example
|----------|---------------|
|DATA_INVALID|Encrypted data invalid|
|MSG_WAIT_FAILED|A waiting call returned an error|
|USER_IS_BLOCKED|User is blocked|
### Example:

Some files were not shown because too many files have changed in this diff Show More