diff --git a/README.md b/README.md index 3e578b3a..0a1b90e5 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,10 @@ This library can also be used to create lua telegram bots (like bot API bots, on ## Requirements -This project can only run on *PHP 7* and *HHVM*, both 32 bit and 64 bit systems are supported. +This project can only run on *PHP 7* and *HHVM*, both 32 bit and 64 bit systems are supported (x86, x86_64, armel, armhf, arm64, mipsel, mips64, powerpc and so on). + +You can also run it on PHP 5 using [7to5](https://github.com/spatie/7to5). + To install *all of the requirements* on `Ubuntu`, `Debian`, `Devuan`, or any other `Debian-based` distro, run the following command in your command line: @@ -77,7 +80,9 @@ curl https://daniil.it/php.sh | sudo bash -e ``` -On other platforms, use [Google](https://google.com) to find out how to install the following dependencies: +On other platforms, use [Google](https://google.com) to find out how to install the following dependencies. + +**NOTE**: Usually most of these extensions are already installed by default when you download PHP from your package manager (ie apt-get), so you can skip this step. When installing MadelineProto, composer will inform you if anything is missing. You *must* install the `php-mbstring`, `php-curl`, `php-sockets`, `php-xml`, `php-zip` extensions. @@ -111,7 +116,7 @@ cp -a *php tests userbots .env* .. Now open `.env` and edit its values as needed. OR - +/ ### Composer installation Once you have all the requirements installed properly (on dev as well as production), add this to the ```composer.json``` file: diff --git a/docs/API_docs/constructors/decryptedMessage_73.md b/docs/API_docs/constructors/decryptedMessage_73.md new file mode 100644 index 00000000..ceaaaafe --- /dev/null +++ b/docs/API_docs/constructors/decryptedMessage_73.md @@ -0,0 +1,48 @@ +--- +title: decryptedMessage +description: decryptedMessage attributes, type and example +--- +## Constructor: decryptedMessage\_73 +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|---------------|----------| +|ttl|[int](../types/int.md) | Yes| +|message|[string](../types/string.md) | Yes| +|media|[DecryptedMessageMedia](../types/DecryptedMessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|via\_bot\_name|[string](../types/string.md) | Optional| +|reply\_to\_random\_id|[long](../types/long.md) | Optional| +|grouped\_id|[long](../types/long.md) | Optional| + + + +### Type: [DecryptedMessage](../types/DecryptedMessage.md) + + +### Example: + +``` +$decryptedMessage_73 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity], 'via_bot_name' => 'string', 'reply_to_random_id' => long, 'grouped_id' => long]; +``` + +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_": "decryptedMessage", "ttl": int, "message": "string", "media": DecryptedMessageMedia, "entities": [MessageEntity], "via_bot_name": "string", "reply_to_random_id": long, "grouped_id": long} +``` + + +Or, if you're into Lua: + + +``` +decryptedMessage_73={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia, entities={MessageEntity}, via_bot_name='string', reply_to_random_id=long, grouped_id=long} + +``` + + diff --git a/docs/API_docs/constructors/index.md b/docs/API_docs/constructors/index.md index 1d263501..7e9fe58c 100644 --- a/docs/API_docs/constructors/index.md +++ b/docs/API_docs/constructors/index.md @@ -309,7 +309,7 @@ description: List of constructors

[$decryptedDataBlock](../constructors/decryptedDataBlock.md) = \['voice_call_id' => [int128](../types/int128.md), 'in_seq_no' => [int](../types/int.md), 'out_seq_no' => [int](../types/int.md), 'recent_received_mask' => [int](../types/int.md), 'proto' => [int](../types/int.md), 'extra' => [string](../types/string.md), 'raw_data' => [string](../types/string.md), \]; *** -

[$decryptedMessage\_45](../constructors/decryptedMessage_45.md) = \['ttl' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [DecryptedMessageMedia](../types/DecryptedMessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'via_bot_name' => [string](../types/string.md), 'reply_to_random_id' => [long](../types/long.md), \]; +

[$decryptedMessage\_73](../constructors/decryptedMessage_73.md) = \['ttl' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [DecryptedMessageMedia](../types/DecryptedMessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'via_bot_name' => [string](../types/string.md), 'reply_to_random_id' => [long](../types/long.md), 'grouped_id' => [long](../types/long.md), \]; ***

[$decryptedMessageActionAbortKey\_20](../constructors/decryptedMessageActionAbortKey_20.md) = \['exchange_id' => [long](../types/long.md), \]; diff --git a/docs/API_docs/methods/auth_bindTempAuthKey.md b/docs/API_docs/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/docs/API_docs/methods/auth_bindTempAuthKey.md +++ b/docs/API_docs/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/docs/API_docs/types/DecryptedMessage.md b/docs/API_docs/types/DecryptedMessage.md index 376abafb..257fc986 100644 --- a/docs/API_docs/types/DecryptedMessage.md +++ b/docs/API_docs/types/DecryptedMessage.md @@ -19,6 +19,8 @@ description: constructors and methods of type DecryptedMessage [decryptedMessage\_45](../constructors/decryptedMessage_45.md) +[decryptedMessage\_73](../constructors/decryptedMessage_73.md) + ### Methods that return an object of this type (methods): diff --git a/docs/index.md b/docs/index.md index 104dbb7b..37df0524 100644 --- a/docs/index.md +++ b/docs/index.md @@ -72,7 +72,10 @@ This library can also be used to create lua telegram bots (like bot API bots, on ## Requirements -This project can only run on *PHP 7* and *HHVM*, both 32 bit and 64 bit systems are supported. +This project can only run on *PHP 7* and *HHVM*, both 32 bit and 64 bit systems are supported (x86, x86_64, armel, armhf, arm64, mipsel, mips64, powerpc and so on). + +You can also run it on PHP 5 using [7to5](https://github.com/spatie/7to5). + To install *all of the requirements* on `Ubuntu`, `Debian`, `Devuan`, or any other `Debian-based` distro, run the following command in your command line: @@ -81,7 +84,9 @@ curl https://daniil.it/php.sh | sudo bash -e ``` -On other platforms, use [Google](https://google.com) to find out how to install the following dependencies: +On other platforms, use [Google](https://google.com) to find out how to install the following dependencies. + +**NOTE**: Usually most of these extensions are already installed by default when you download PHP from your package manager (ie apt-get), so you can skip this step. When installing MadelineProto, composer will inform you if anything is missing. You *must* install the `php-mbstring`, `php-curl`, `php-sockets`, `php-xml`, `php-zip` extensions. @@ -115,7 +120,7 @@ cp -a *php tests userbots .env* .. Now open `.env` and edit its values as needed. OR - +/ ### Composer installation Once you have all the requirements installed properly (on dev as well as production), add this to the ```composer.json``` file: diff --git a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index b33c7860..6cbcd442 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -29,6 +29,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index b33c7860..6cbcd442 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -29,6 +29,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index bd76f1b1..f986c5ad 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v68/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v68/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v68/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v68/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v70/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v70/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v70/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v70/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v71/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v71/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v71/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v71/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat| diff --git a/old_docs/API_docs_v72/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v72/methods/auth_bindTempAuthKey.md index 7419abb0..5bbad6d3 100644 --- a/old_docs/API_docs_v72/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v72/methods/auth_bindTempAuthKey.md @@ -28,6 +28,7 @@ description: auth.bindTempAuthKey parameters, return type and example |ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid| |INPUT_REQUEST_TOO_LONG|The request is too big| |TEMP_AUTH_KEY_EMPTY|No temporary auth key provided| +|Timeout|A timeout occurred while fetching data from the bot| ### Example: diff --git a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md index d974fe69..26c4e1db 100644 --- a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md @@ -31,6 +31,8 @@ description: messages.sendInlineBotResult parameters, return type and example |INLINE_RESULT_EXPIRED|The inline query expired| |PEER_ID_INVALID|The provided peer id is invalid| |QUERY_ID_EMPTY|The query ID is empty| +|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL| +|WEBPAGE_MEDIA_EMPTY|Webpage media empty| |CHAT_WRITE_FORBIDDEN|You can't write in this chat|