diff --git a/README.md b/README.md index 781edcf4..6bb27d07 100644 --- a/README.md +++ b/README.md @@ -58,32 +58,6 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro ## Documentation -* [Async](https://docs.madelineproto.xyz/docs/ASYNC.html) - * [Usage](https://docs.madelineproto.xyz/docs/ASYNC.html#usage) - * [Enabling the MadelineProto async API](https://docs.madelineproto.xyz/docs/ASYNC.html#enabling-the-madelineproto-async-api) - * [Using the MadelineProto async API](https://docs.madelineproto.xyz/docs/ASYNC.html#using-the-madelineproto-async-api) - * [Async in event handler](https://docs.madelineproto.xyz/docs/ASYNC.html#async-in-event-handler) - * [Async in callback handler](https://docs.madelineproto.xyz/docs/ASYNC.html#async-in-callback-handler) - * [Wrapped async](https://docs.madelineproto.xyz/docs/ASYNC.html#wrapped-async) - * [Multiple async](https://docs.madelineproto.xyz/docs/ASYNC.html#multiple-async) - * [ArrayAccess async](https://docs.madelineproto.xyz/docs/ASYNC.html#arrayaccess-async) - * [Ignored async](https://docs.madelineproto.xyz/docs/ASYNC.html#ignored-async) - * [Blocking async](https://docs.madelineproto.xyz/docs/ASYNC.html#blocking-async) - * [MadelineProto and AMPHP async APIs](https://docs.madelineproto.xyz/docs/ASYNC.html#madelineproto-and-amphp-async-apis) - * [Helper methods](https://docs.madelineproto.xyz/docs/ASYNC.html#helper-methods) - * [Async sleep](https://docs.madelineproto.xyz/docs/ASYNC.html#async-sleep-does-not-block-the-main-thread) - * [Async readline](https://docs.madelineproto.xyz/docs/ASYNC.html#async-readline-does-not-block-the-main-thread) - * [Async echo](https://docs.madelineproto.xyz/docs/ASYNC.html#async-echo-does-not-block-the-main-thread) - * [MadelineProto artax HTTP client](https://docs.madelineproto.xyz/docs/ASYNC.html#madelineproto-artax-http-client) - * [Async forking](https://docs.madelineproto.xyz/docs/ASYNC.html#async-forking-does-green-thread-forking) - * [Async flock](https://docs.madelineproto.xyz/docs/ASYNC.html#async-flock) - * [Combining async operations](https://docs.madelineproto.xyz/docs/ASYNC.html#combining-async-operations) - * [MadelineProto async loop APIs](https://docs.madelineproto.xyz/docs/ASYNC.html#async-loop-apis) - * [Loop](https://docs.madelineproto.xyz/docs/ASYNC.html#loop) - * [ResumableLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#resumableloop) - * [SignalLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#signalloop) - * [ResumableSignalLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#resumablesignalloop) - * [GenericLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#genericloop) * [Creating a client](https://docs.madelineproto.xyz/docs/CREATING_A_CLIENT.html) * [Login](https://docs.madelineproto.xyz/docs/LOGIN.html) * [Getting permission to use the telegram API](https://docs.madelineproto.xyz/docs/LOGIN.html#getting-permission-to-use-the-telegram-api) @@ -167,6 +141,32 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * [Use pre-built Socks5 proxy](https://docs.madelineproto.xyz/docs/PROXY.html#socks5-proxy) * [Use pre-built HTTP proxy](https://docs.madelineproto.xyz/docs/PROXY.html#http-proxy) * [Build your own proxy](https://docs.madelineproto.xyz/docs/PROXY.html#build-your-proxy) +* [Async](https://docs.madelineproto.xyz/docs/ASYNC.html) + * [Usage](https://docs.madelineproto.xyz/docs/ASYNC.html#usage) + * [Enabling the MadelineProto async API](https://docs.madelineproto.xyz/docs/ASYNC.html#enabling-the-madelineproto-async-api) + * [Using the MadelineProto async API](https://docs.madelineproto.xyz/docs/ASYNC.html#using-the-madelineproto-async-api) + * [Async in event handler](https://docs.madelineproto.xyz/docs/ASYNC.html#async-in-event-handler) + * [Async in callback handler](https://docs.madelineproto.xyz/docs/ASYNC.html#async-in-callback-handler) + * [Wrapped async](https://docs.madelineproto.xyz/docs/ASYNC.html#wrapped-async) + * [Multiple async](https://docs.madelineproto.xyz/docs/ASYNC.html#multiple-async) + * [ArrayAccess async](https://docs.madelineproto.xyz/docs/ASYNC.html#arrayaccess-async) + * [Ignored async](https://docs.madelineproto.xyz/docs/ASYNC.html#ignored-async) + * [Blocking async](https://docs.madelineproto.xyz/docs/ASYNC.html#blocking-async) + * [MadelineProto and AMPHP async APIs](https://docs.madelineproto.xyz/docs/ASYNC.html#madelineproto-and-amphp-async-apis) + * [Helper methods](https://docs.madelineproto.xyz/docs/ASYNC.html#helper-methods) + * [Async sleep](https://docs.madelineproto.xyz/docs/ASYNC.html#async-sleep-does-not-block-the-main-thread) + * [Async readline](https://docs.madelineproto.xyz/docs/ASYNC.html#async-readline-does-not-block-the-main-thread) + * [Async echo](https://docs.madelineproto.xyz/docs/ASYNC.html#async-echo-does-not-block-the-main-thread) + * [MadelineProto artax HTTP client](https://docs.madelineproto.xyz/docs/ASYNC.html#madelineproto-artax-http-client) + * [Async forking](https://docs.madelineproto.xyz/docs/ASYNC.html#async-forking-does-green-thread-forking) + * [Async flock](https://docs.madelineproto.xyz/docs/ASYNC.html#async-flock) + * [Combining async operations](https://docs.madelineproto.xyz/docs/ASYNC.html#combining-async-operations) + * [MadelineProto async loop APIs](https://docs.madelineproto.xyz/docs/ASYNC.html#async-loop-apis) + * [Loop](https://docs.madelineproto.xyz/docs/ASYNC.html#loop) + * [ResumableLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#resumableloop) + * [SignalLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#signalloop) + * [ResumableSignalLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#resumablesignalloop) + * [GenericLoop](https://docs.madelineproto.xyz/docs/ASYNC.html#genericloop) * [Using methods](https://docs.madelineproto.xyz/docs/USING_METHODS.html) * [FULL API Documentation with descriptions](https://docs.madelineproto.xyz/API_docs/methods/) * [Logout](https://docs.madelineproto.xyz/logout.html) diff --git a/docs b/docs index 4ed3a844..dfec70a8 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 4ed3a8447cf21c69322bcdaf149eb3ce0befe8c0 +Subproject commit dfec70a8c5a6a6eca9e9d47e582141bc8a86aba8 diff --git a/src/danog/MadelineProto/Lang.php b/src/danog/MadelineProto/Lang.php index 6162b0a5..301be102 100644 --- a/src/danog/MadelineProto/Lang.php +++ b/src/danog/MadelineProto/Lang.php @@ -12,7 +12,7 @@ * @author Daniil Gentili * @copyright 2016-2019 Daniil Gentili * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 - * @link https://docs.madelineproto.xyz MadelineProto documentation + * @link https://docs.madelineproto.xyz MadelineProto documentation */ namespace danog\MadelineProto; @@ -5625,6 +5625,10 @@ Contains the reason why access to a certain object must be restricted. Clients a 'object_botInlineMediaResultDocument_param_send_message_type_BotInlineMessage' => '', 'object_botInlineMediaResultPhoto_param_send_message_type_BotInlineMessage' => '', 'object_channelBannedRights_param_send_messages_type_true' => '', + 'method_messages.getMessagesReactions_param_id_type_Vector t' => '', + 'object_message_param_reactions_type_MessageReactions' => '', + 'object_message_param_restriction_reason_type_string' => '', + 'object_messageReactions_param_results_type_Vector t' => '', ], ]; @@ -11091,5 +11095,9 @@ Contains the reason why access to a certain object must be restricted. Clients a 'object_botInlineMediaResultDocument_param_send_message_type_BotInlineMessage' => '', 'object_botInlineMediaResultPhoto_param_send_message_type_BotInlineMessage' => '', 'object_channelBannedRights_param_send_messages_type_true' => '', + 'method_messages.getMessagesReactions_param_id_type_Vector t' => '', + 'object_message_param_reactions_type_MessageReactions' => '', + 'object_message_param_restriction_reason_type_string' => '', + 'object_messageReactions_param_results_type_Vector t' => '', ]; } diff --git a/tools/build_docs.php b/tools/build_docs.php index 949cfc16..49e9d10a 100755 --- a/tools/build_docs.php +++ b/tools/build_docs.php @@ -127,7 +127,6 @@ foreach ($docs as $settings) { $orderedfiles = []; $order = [ - 'ASYNC', 'CREATING_A_CLIENT', 'LOGIN', 'FEATURES', @@ -147,6 +146,7 @@ $order = [ 'SECRET_CHATS', 'LUA', 'PROXY', + 'ASYNC', 'USING_METHODS', 'CONTRIB', 'TEMPLATES',